summaryrefslogtreecommitdiff
path: root/modutils
diff options
context:
space:
mode:
authorEric Andersen2002-10-18 22:14:07 +0000
committerEric Andersen2002-10-18 22:14:07 +0000
commit31f9747a23cc22f35c5efb0841258d7c53e3d6a0 (patch)
tree934ec3ec2dc6b2aa3bf74fbf2d1007048c1422c1 /modutils
parentd69e31fb937852a578e550c6fe0e80359d39212f (diff)
downloadbusybox-31f9747a23cc22f35c5efb0841258d7c53e3d6a0.zip
busybox-31f9747a23cc22f35c5efb0841258d7c53e3d6a0.tar.gz
Fix needless formatting differences vs modutils
Diffstat (limited to 'modutils')
-rw-r--r--modutils/lsmod.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/modutils/lsmod.c b/modutils/lsmod.c
index 95eeaa5..df4b3c1 100644
--- a/modutils/lsmod.c
+++ b/modutils/lsmod.c
@@ -147,24 +147,24 @@ extern int lsmod_main(int argc, char **argv)
}
perror_msg_and_die("module %s: QM_REFS", mn);
}
- printf("%-20s%8lu%4ld ", mn, info.size, info.usecount);
+ printf("%-20s%8lu%4ld", mn, info.size, info.usecount);
if (info.flags & NEW_MOD_DELETED)
- printf("(deleted)");
+ printf(" (deleted)");
else if (info.flags & NEW_MOD_INITIALIZING)
- printf("(initializing)");
+ printf(" (initializing)");
else if (!(info.flags & NEW_MOD_RUNNING))
- printf("(uninitialized)");
+ printf(" (uninitialized)");
else {
if (info.flags & NEW_MOD_AUTOCLEAN)
- printf("(autoclean) ");
+ printf(" (autoclean) ");
if (!(info.flags & NEW_MOD_USED_ONCE))
- printf("(unused)");
+ 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) printf("]");
printf("\n");
}