summaryrefslogtreecommitdiff
path: root/modutils/lsmod.c
diff options
context:
space:
mode:
authorEric Andersen2002-10-08 09:38:07 +0000
committerEric Andersen2002-10-08 09:38:07 +0000
commit528649463fda35553771cebab8de7217e63f4ad4 (patch)
tree43f1c963472fb7c3a06c3047ed75dc8c84b48f15 /modutils/lsmod.c
parent2983330512e0f1a09ef881034a5e1c02d3fe2c7b (diff)
downloadbusybox-528649463fda35553771cebab8de7217e63f4ad4.zip
busybox-528649463fda35553771cebab8de7217e63f4ad4.tar.gz
Fix missing \n noticed by Robert Schwebel
Diffstat (limited to 'modutils/lsmod.c')
-rw-r--r--modutils/lsmod.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/modutils/lsmod.c b/modutils/lsmod.c
index 3618ebe..a2a5823 100644
--- a/modutils/lsmod.c
+++ b/modutils/lsmod.c
@@ -57,13 +57,13 @@ void check_tainted(void)
fclose(f);
}
if (f && tainted) {
- printf(" Tainted: %c%c%c",
+ printf(" Tainted: %c%c%c\n",
tainted & TAINT_PROPRIETORY_MODULE ? 'P' : 'G',
tainted & TAINT_FORCED_MODULE ? 'F' : ' ',
tainted & TAINT_UNSAFE_SMP ? 'S' : ' ');
}
else {
- printf(" Not tainted");
+ printf(" Not tainted\n");
}
}
@@ -127,7 +127,6 @@ extern int lsmod_main(int argc, char **argv)
deps = xmalloc(depsize = 256);
printf("Module Size Used by");
check_tainted();
- printf("\n");
for (i = 0, mn = module_names; i < nmod; mn += strlen(mn) + 1, i++) {
if (query_module(mn, QM_INFO, &info, sizeof(info), &count)) {