aboutsummaryrefslogtreecommitdiff
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 2f8990ed9..7a1d7d4a7 100644
--- a/util-linux/uevent.c
+++ b/util-linux/uevent.c
@@ -75,12 +75,12 @@ int uevent_main(int argc UNUSED_PARAM, char **argv)
75 MAP_PRIVATE | MAP_ANON, 75 MAP_PRIVATE | MAP_ANON,
76 /* ignored: */ -1, 0); 76 /* ignored: */ -1, 0);
77 if (netbuf == MAP_FAILED) 77 if (netbuf == MAP_FAILED)
78 bb_perror_msg_and_die("mmap"); 78 bb_simple_perror_msg_and_die("mmap");
79 79
80 // Here we block, possibly for a very long time 80 // Here we block, possibly for a very long time
81 len = safe_read(fd, netbuf, BUFFER_SIZE - 1); 81 len = safe_read(fd, netbuf, BUFFER_SIZE - 1);
82 if (len < 0) 82 if (len < 0)
83 bb_perror_msg_and_die("read"); 83 bb_simple_perror_msg_and_die("read");
84 end = netbuf + len; 84 end = netbuf + len;
85 *end = '\0'; 85 *end = '\0';
86 86