aboutsummaryrefslogtreecommitdiff
path: root/miscutils/makedevs.c
diff options
context:
space:
mode:
Diffstat (limited to 'miscutils/makedevs.c')
-rw-r--r--miscutils/makedevs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/miscutils/makedevs.c b/miscutils/makedevs.c
index aa000a7ab..fce7ea43d 100644
--- a/miscutils/makedevs.c
+++ b/miscutils/makedevs.c
@@ -48,7 +48,7 @@ int makedevs_main(int argc, char **argv)
48 int sz; 48 int sz;
49 49
50 sz = snprintf(buf, sizeof(buf), "%s%d", basedev, S); 50 sz = snprintf(buf, sizeof(buf), "%s%d", basedev, S);
51 if(sz<0 || sz>=sizeof(buf)) /* libc different */ 51 if (sz < 0 || sz >= sizeof(buf)) /* libc different */
52 bb_error_msg_and_die("%s too large", basedev); 52 bb_error_msg_and_die("%s too large", basedev);
53 53
54 /* if mode != S_IFCHR and != S_IFBLK third param in mknod() ignored */ 54 /* if mode != S_IFCHR and != S_IFBLK third param in mknod() ignored */