summaryrefslogtreecommitdiff
path: root/util-linux/uevent.c
diff options
context:
space:
mode:
Diffstat (limited to 'util-linux/uevent.c')
-rw-r--r--util-linux/uevent.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/util-linux/uevent.c b/util-linux/uevent.c
index 2f8990e..7a1d7d4 100644
--- a/util-linux/uevent.c
+++ b/util-linux/uevent.c
@@ -75,12 +75,12 @@ int uevent_main(int argc UNUSED_PARAM, char **argv)
MAP_PRIVATE | MAP_ANON,
/* ignored: */ -1, 0);
if (netbuf == MAP_FAILED)
- bb_perror_msg_and_die("mmap");
+ bb_simple_perror_msg_and_die("mmap");
// Here we block, possibly for a very long time
len = safe_read(fd, netbuf, BUFFER_SIZE - 1);
if (len < 0)
- bb_perror_msg_and_die("read");
+ bb_simple_perror_msg_and_die("read");
end = netbuf + len;
*end = '\0';