diff options
| author | andersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2002-10-18 22:14:07 +0000 |
|---|---|---|
| committer | andersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2002-10-18 22:14:07 +0000 |
| commit | 3e67ae958e0f90dbf0f00128fd58cd2ec946be83 (patch) | |
| tree | 934ec3ec2dc6b2aa3bf74fbf2d1007048c1422c1 /modutils | |
| parent | aa42ad356d7eff61fdbcb626cfe2365d7f8a188e (diff) | |
| download | busybox-w32-3e67ae958e0f90dbf0f00128fd58cd2ec946be83.tar.gz busybox-w32-3e67ae958e0f90dbf0f00128fd58cd2ec946be83.tar.bz2 busybox-w32-3e67ae958e0f90dbf0f00128fd58cd2ec946be83.zip | |
Fix needless formatting differences vs modutils
git-svn-id: svn://busybox.net/trunk/busybox@5664 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'modutils')
| -rw-r--r-- | modutils/lsmod.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/modutils/lsmod.c b/modutils/lsmod.c index 95eeaa52f..df4b3c16b 100644 --- a/modutils/lsmod.c +++ b/modutils/lsmod.c | |||
| @@ -147,24 +147,24 @@ extern int lsmod_main(int argc, char **argv) | |||
| 147 | } | 147 | } |
| 148 | perror_msg_and_die("module %s: QM_REFS", mn); | 148 | perror_msg_and_die("module %s: QM_REFS", mn); |
| 149 | } | 149 | } |
| 150 | printf("%-20s%8lu%4ld ", mn, info.size, info.usecount); | 150 | printf("%-20s%8lu%4ld", mn, info.size, info.usecount); |
| 151 | if (info.flags & NEW_MOD_DELETED) | 151 | if (info.flags & NEW_MOD_DELETED) |
| 152 | printf("(deleted)"); | 152 | printf(" (deleted)"); |
| 153 | else if (info.flags & NEW_MOD_INITIALIZING) | 153 | else if (info.flags & NEW_MOD_INITIALIZING) |
| 154 | printf("(initializing)"); | 154 | printf(" (initializing)"); |
| 155 | else if (!(info.flags & NEW_MOD_RUNNING)) | 155 | else if (!(info.flags & NEW_MOD_RUNNING)) |
| 156 | printf("(uninitialized)"); | 156 | printf(" (uninitialized)"); |
| 157 | else { | 157 | else { |
| 158 | if (info.flags & NEW_MOD_AUTOCLEAN) | 158 | if (info.flags & NEW_MOD_AUTOCLEAN) |
| 159 | printf("(autoclean) "); | 159 | printf(" (autoclean) "); |
| 160 | if (!(info.flags & NEW_MOD_USED_ONCE)) | 160 | if (!(info.flags & NEW_MOD_USED_ONCE)) |
| 161 | printf("(unused)"); | 161 | printf(" (unused)"); |
| 162 | } | 162 | } |
| 163 | if (count) printf("["); | 163 | if (count) printf(" ["); |
| 164 | for (j = 0, dn = deps; j < count; dn += strlen(dn) + 1, j++) { | 164 | for (j = 0, dn = deps; j < count; dn += strlen(dn) + 1, j++) { |
| 165 | printf("%s%s", dn, (j==count-1)? "":" "); | 165 | printf("%s%s", dn, (j==count-1)? "":" "); |
| 166 | } | 166 | } |
| 167 | if (count) printf("] "); | 167 | if (count) printf("]"); |
| 168 | 168 | ||
| 169 | printf("\n"); | 169 | printf("\n"); |
| 170 | } | 170 | } |
