diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2006-12-26 10:42:51 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2006-12-26 10:42:51 +0000 |
commit | bf0a201008671f81c107de72c026b1b84967561d (patch) | |
tree | af74820b70fa27929fe218c95822c20651b60637 /runit/runit_lib.c | |
parent | 5dd7ef0f37373e397a7160cb431a32ae57f9f7d9 (diff) | |
download | busybox-w32-bf0a201008671f81c107de72c026b1b84967561d.tar.gz busybox-w32-bf0a201008671f81c107de72c026b1b84967561d.tar.bz2 busybox-w32-bf0a201008671f81c107de72c026b1b84967561d.zip |
style fixes
last xcalloc replaced by xzalloc
Diffstat (limited to 'runit/runit_lib.c')
-rw-r--r-- | runit/runit_lib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runit/runit_lib.c b/runit/runit_lib.c index 5ebbc5840..8612a1b94 100644 --- a/runit/runit_lib.c +++ b/runit/runit_lib.c | |||
@@ -337,7 +337,7 @@ unsigned fmt_ulong(char *s,unsigned long u) | |||
337 | while (q > 9) { ++len; q /= 10; } | 337 | while (q > 9) { ++len; q /= 10; } |
338 | if (s) { | 338 | if (s) { |
339 | s += len; | 339 | s += len; |
340 | do { *--s = '0' + (u % 10); u /= 10; } while(u); /* handles u == 0 */ | 340 | do { *--s = '0' + (u % 10); u /= 10; } while (u); /* handles u == 0 */ |
341 | } | 341 | } |
342 | return len; | 342 | return len; |
343 | } | 343 | } |