]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
libmount: fix use of preprocessor identifier
authorSami Kerola <kerolasa@iki.fi>
Sun, 5 Mar 2017 20:52:21 +0000 (20:52 +0000)
committerKarel Zak <kzak@redhat.com>
Mon, 13 Mar 2017 13:48:07 +0000 (14:48 +0100)
libmount/src/context_mount.c:990:5: warning: undefined preprocessor
identifier 'USE_LIBMOUNT_SUPPORT_MTAB'

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
libmount/src/context_mount.c

index 23f0e303a20f6242894a94a6e7188e2b6adfe2f2..6368e9ba816e101b3e1a702c31d4f67b6b642d11 100644 (file)
@@ -987,7 +987,7 @@ int mnt_context_do_mount(struct libmnt_context *cxt)
        } else
                res = do_mount_by_pattern(cxt, cxt->fstype_pattern);
 
-#if USE_LIBMOUNT_SUPPORT_MTAB
+#ifdef USE_LIBMOUNT_SUPPORT_MTAB
        if (mnt_context_get_status(cxt)
            && !mnt_context_is_fake(cxt)
            && !cxt->helper) {