diff options
author | Mike Frysinger | 2005-06-11 00:08:50 +0000 |
---|---|---|
committer | Mike Frysinger | 2005-06-11 00:08:50 +0000 |
commit | 85cffcc83dfa8471c458789474513171ff9281df (patch) | |
tree | 6890b22c5a78b5166952d173a7d1a2bd94afca1b /e2fsprogs/e2p/ps.c | |
parent | 942e137679ef3e07036cc32689ea7c802304cd1d (diff) | |
download | busybox-85cffcc83dfa8471c458789474513171ff9281df.zip busybox-85cffcc83dfa8471c458789474513171ff9281df.tar.gz |
recode functions to shrink size
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 bec8b41..b7c0ee2 100644 --- a/e2fsprogs/e2p/ps.c +++ b/e2fsprogs/e2p/ps.c @@ -18,12 +18,9 @@ #include "e2p.h" -void print_fs_state (FILE * f, unsigned short state) +void print_fs_state(FILE *f, unsigned short state) { - if (state & EXT2_VALID_FS) - fprintf (f, " clean"); - else - fprintf (f, " not clean"); + fprintf(f, (state & EXT2_VALID_FS ? " clean" : " not clean")); if (state & EXT2_ERROR_FS) fprintf (f, " with errors"); } |