X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=daemon%2Fext2.c;h=f768440d796532857eb68628c37173c51b8c9b46;hb=ade327a7af869d4d70e28e2a596473943e0299dd;hp=14cbb3c913254320e2460f8560557aeddea8bcd3;hpb=3e70b34eed5a48640e20fbf6dcba774aaace1f3c;p=libguestfs.git diff --git a/daemon/ext2.c b/daemon/ext2.c index 14cbb3c..f768440 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, "") == 0 || - strcmp (colon, "") == 0 || - strcmp (colon, "(none)") == 0) { + if (STREQ (colon, "") || + STREQ (colon, "") || + STREQ (colon, "(none)")) { if (add_string (&ret, &size, &alloc, "") == -1) { free (out); return NULL;