diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2008-06-05 10:51:06 +0400 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2008-06-05 10:51:06 +0400 |
commit | 7d60fc1c0a96983d0909f50f8db26ca1b770b039 (patch) | |
tree | 91c28e9c23da1ae55d5b2c82d16fe39b340f40dc /modutils/lsmod.c | |
parent | bedfabd500b5dd684ac0b0780147a81bbb37f084 (diff) |
replace single-char printf's with bb_putchar
Diffstat (limited to 'modutils/lsmod.c')
-rw-r--r-- | modutils/lsmod.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/modutils/lsmod.c b/modutils/lsmod.c index da8663acb..a2330fe98 100644 --- a/modutils/lsmod.c +++ b/modutils/lsmod.c @@ -122,11 +122,13 @@ int lsmod_main(int argc ATTRIBUTE_UNUSED, char **argv ATTRIBUTE_UNUSED) if (!(info.flags & NEW_MOD_USED_ONCE)) printf(" (unused)"); } - if (count) printf(" ["); + if (count) + printf(" ["); for (j = 0, dn = deps; j < count; dn += strlen(dn) + 1, j++) { printf("%s%s", dn, (j==count-1)? "":" "); } - if (count) printf("]"); + if (count) + bb_putchar(']'); bb_putchar('\n'); } |