diff options
Diffstat (limited to 'e2fsprogs/e2p/ps.c')
-rw-r--r-- | e2fsprogs/e2p/ps.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/e2fsprogs/e2p/ps.c b/e2fsprogs/e2p/ps.c index bec8b4195..b7c0ee2f1 100644 --- a/e2fsprogs/e2p/ps.c +++ b/e2fsprogs/e2p/ps.c | |||
@@ -18,12 +18,9 @@ | |||
18 | 18 | ||
19 | #include "e2p.h" | 19 | #include "e2p.h" |
20 | 20 | ||
21 | void print_fs_state (FILE * f, unsigned short state) | 21 | void print_fs_state(FILE *f, unsigned short state) |
22 | { | 22 | { |
23 | if (state & EXT2_VALID_FS) | 23 | fprintf(f, (state & EXT2_VALID_FS ? " clean" : " not clean")); |
24 | fprintf (f, " clean"); | ||
25 | else | ||
26 | fprintf (f, " not clean"); | ||
27 | if (state & EXT2_ERROR_FS) | 24 | if (state & EXT2_ERROR_FS) |
28 | fprintf (f, " with errors"); | 25 | fprintf (f, " with errors"); |
29 | } | 26 | } |