diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2007-04-12 00:32:05 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2007-04-12 00:32:05 +0000 |
commit | 51742f4bb0c57a4d5063ece9437a2f34a42e52c8 (patch) | |
tree | 7a912fc65ff43bdb09078d75bfc02ad8f5380b47 /miscutils/makedevs.c | |
parent | 50f7f446ecaadef6895a4ee601567e0b68330637 (diff) | |
download | busybox-w32-51742f4bb0c57a4d5063ece9437a2f34a42e52c8.tar.gz busybox-w32-51742f4bb0c57a4d5063ece9437a2f34a42e52c8.tar.bz2 busybox-w32-51742f4bb0c57a4d5063ece9437a2f34a42e52c8.zip |
style fixes. No code changes
Diffstat (limited to 'miscutils/makedevs.c')
-rw-r--r-- | miscutils/makedevs.c | 2 |
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 */ |