diff options
author | Denys Vlasenko | 2011-05-08 21:21:10 +0200 |
---|---|---|
committer | Denys Vlasenko | 2011-05-08 21:21:10 +0200 |
commit | 80c5b6893d4708b3683ad9a51c990a326a8f1dff (patch) | |
tree | 0c4c3192e77e6afa1a1d47e750a0840d3a4ca60e /util-linux/acpid.c | |
parent | b8709032a3fb57b3ec536bdf9b92b526ed63b995 (diff) | |
download | busybox-80c5b6893d4708b3683ad9a51c990a326a8f1dff.zip busybox-80c5b6893d4708b3683ad9a51c990a326a8f1dff.tar.gz |
libbb: nonblock_safe_read->nonblock_immune_read, remove unused param of xmalloc_reads
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'util-linux/acpid.c')
-rw-r--r-- | util-linux/acpid.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util-linux/acpid.c b/util-linux/acpid.c index c9eed2a..4b7e5ca 100644 --- a/util-linux/acpid.c +++ b/util-linux/acpid.c @@ -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) |