libbb: nonblock_safe_read->nonblock_immune_read, remove unused param of xmalloc_reads
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
@@ -283,7 +283,7 @@ int acpid_main(int argc UNUSED_PARAM, char **argv)
|
||||
char *buf;
|
||||
int len;
|
||||
|
||||
buf = xmalloc_reads(pfd[i].fd, NULL, NULL);
|
||||
buf = xmalloc_reads(pfd[i].fd, NULL);
|
||||
/* buf = "button/power PWRB 00000080 00000000" */
|
||||
len = strlen(buf) - 9;
|
||||
if (len >= 0)
|
||||
|
Reference in New Issue
Block a user