aboutsummaryrefslogtreecommitdiff
path: root/modutils/lsmod.c
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2002-10-08 09:38:07 +0000
committerEric Andersen <andersen@codepoet.org>2002-10-08 09:38:07 +0000
commit528649463fda35553771cebab8de7217e63f4ad4 (patch)
tree43f1c963472fb7c3a06c3047ed75dc8c84b48f15 /modutils/lsmod.c
parent2983330512e0f1a09ef881034a5e1c02d3fe2c7b (diff)
downloadbusybox-w32-528649463fda35553771cebab8de7217e63f4ad4.tar.gz
busybox-w32-528649463fda35553771cebab8de7217e63f4ad4.tar.bz2
busybox-w32-528649463fda35553771cebab8de7217e63f4ad4.zip
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 3618ebe0b..a2a582389 100644
--- a/modutils/lsmod.c
+++ b/modutils/lsmod.c
@@ -57,13 +57,13 @@ void check_tainted(void)
57 fclose(f); 57 fclose(f);
58 } 58 }
59 if (f && tainted) { 59 if (f && tainted) {
60 printf(" Tainted: %c%c%c", 60 printf(" Tainted: %c%c%c\n",
61 tainted & TAINT_PROPRIETORY_MODULE ? 'P' : 'G', 61 tainted & TAINT_PROPRIETORY_MODULE ? 'P' : 'G',
62 tainted & TAINT_FORCED_MODULE ? 'F' : ' ', 62 tainted & TAINT_FORCED_MODULE ? 'F' : ' ',
63 tainted & TAINT_UNSAFE_SMP ? 'S' : ' '); 63 tainted & TAINT_UNSAFE_SMP ? 'S' : ' ');
64 } 64 }
65 else { 65 else {
66 printf(" Not tainted"); 66 printf(" Not tainted\n");
67 } 67 }
68} 68}
69 69
@@ -127,7 +127,6 @@ extern int lsmod_main(int argc, char **argv)
127 deps = xmalloc(depsize = 256); 127 deps = xmalloc(depsize = 256);
128 printf("Module Size Used by"); 128 printf("Module Size Used by");
129 check_tainted(); 129 check_tainted();
130 printf("\n");
131 130
132 for (i = 0, mn = module_names; i < nmod; mn += strlen(mn) + 1, i++) { 131 for (i = 0, mn = module_names; i < nmod; mn += strlen(mn) + 1, i++) {
133 if (query_module(mn, QM_INFO, &info, sizeof(info), &count)) { 132 if (query_module(mn, QM_INFO, &info, sizeof(info), &count)) {