aboutsummaryrefslogtreecommitdiff
path: root/lsmod.c
diff options
context:
space:
mode:
authorandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>2000-09-12 16:20:49 +0000
committerandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>2000-09-12 16:20:49 +0000
commit7d61e4b97c152bedb275c06c38a88a2689141a38 (patch)
tree346de18c5baadfab7bbc82093ca7e8164bd53c20 /lsmod.c
parentb70c15f0ee87d983652dfefdd8e3c9269426ff2f (diff)
downloadbusybox-w32-7d61e4b97c152bedb275c06c38a88a2689141a38.tar.gz
busybox-w32-7d61e4b97c152bedb275c06c38a88a2689141a38.tar.bz2
busybox-w32-7d61e4b97c152bedb275c06c38a88a2689141a38.zip
Formatting cleanup patch from Bryan Rittmeyer <bryan@ixiacom.com>.
-Erik git-svn-id: svn://busybox.net/trunk/busybox@1036 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'lsmod.c')
-rw-r--r--lsmod.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/lsmod.c b/lsmod.c
index 945f420e0..bd1cf9c48 100644
--- a/lsmod.c
+++ b/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