aboutsummaryrefslogtreecommitdiff
path: root/modutils/lsmod.c
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2000-09-12 16:20:49 +0000
committerEric Andersen <andersen@codepoet.org>2000-09-12 16:20:49 +0000
commitccb0a9ba88ed5ed33390908dca7994447fe2dc32 (patch)
tree346de18c5baadfab7bbc82093ca7e8164bd53c20 /modutils/lsmod.c
parentfca8050f0fd224a22136b74fce23b700f1d07ccf (diff)
downloadbusybox-w32-ccb0a9ba88ed5ed33390908dca7994447fe2dc32.tar.gz
busybox-w32-ccb0a9ba88ed5ed33390908dca7994447fe2dc32.tar.bz2
busybox-w32-ccb0a9ba88ed5ed33390908dca7994447fe2dc32.zip
Formatting cleanup patch from Bryan Rittmeyer <bryan@ixiacom.com>.
-Erik
Diffstat (limited to 'modutils/lsmod.c')
-rw-r--r--modutils/lsmod.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/modutils/lsmod.c b/modutils/lsmod.c
index 945f420e0..bd1cf9c48 100644
--- a/modutils/lsmod.c
+++ b/modutils/lsmod.c
@@ -100,21 +100,21 @@ extern int lsmod_main(int argc, char **argv)
100 for (j = 0, dn = deps; j < count; dn += strlen(dn) + 1, j++) { 100 for (j = 0, dn = deps; j < count; dn += strlen(dn) + 1, j++) {
101 printf("%s%s", dn, (j==count-1)? "":" "); 101 printf("%s%s", dn, (j==count-1)? "":" ");
102 } 102 }
103 if (count) printf("]"); 103 if (count) printf("] ");
104 printf("\n");
105 104
106 if (info.flags & NEW_MOD_DELETED) 105 if (info.flags & NEW_MOD_DELETED)
107 printf(" (deleted)"); 106 printf("(deleted)");
108 else if (info.flags & NEW_MOD_INITIALIZING) 107 else if (info.flags & NEW_MOD_INITIALIZING)
109 printf(" (initializing)"); 108 printf("(initializing)");
110 else if (!(info.flags & NEW_MOD_RUNNING)) 109 else if (!(info.flags & NEW_MOD_RUNNING))
111 printf(" (uninitialized)"); 110 printf("(uninitialized)");
112 else { 111 else {
113 if (info.flags & NEW_MOD_AUTOCLEAN) 112 if (info.flags & NEW_MOD_AUTOCLEAN)
114 printf(" (autoclean)"); 113 printf("(autoclean)");
115 if (!(info.flags & NEW_MOD_USED_ONCE)) 114 if (!(info.flags & NEW_MOD_USED_ONCE))
116 printf(" (unused)"); 115 printf("(unused)");
117 } 116 }
117 printf("\n");
118 } 118 }
119 119
120 120