diff options
Diffstat (limited to 'daemon/ext2.c')
-rw-r--r-- | daemon/ext2.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/daemon/ext2.c b/daemon/ext2.c index 14cbb3c9..f768440d 100644 --- a/daemon/ext2.c +++ b/daemon/ext2.c @@ -78,9 +78,9 @@ do_tune2fs_l (const char *device) free (out); return NULL; } - if (strcmp (colon, "<none>") == 0 || - strcmp (colon, "<not available>") == 0 || - strcmp (colon, "(none)") == 0) { + if (STREQ (colon, "<none>") || + STREQ (colon, "<not available>") || + STREQ (colon, "(none)")) { if (add_string (&ret, &size, &alloc, "") == -1) { free (out); return NULL; |