summaryrefslogtreecommitdiffstats
path: root/libmount/src/context_mount.c
diff options
context:
space:
mode:
authorSami Kerola2017-03-05 21:52:21 +0100
committerKarel Zak2017-03-13 14:48:07 +0100
commit08cce2e1cc659548553a8353a938813b826d7943 (patch)
tree3054733ab025526952f0af354340b5593479a60a /libmount/src/context_mount.c
parentmisc: stop mixing declarations and code (diff)
downloadkernel-qcow2-util-linux-08cce2e1cc659548553a8353a938813b826d7943.tar.gz
kernel-qcow2-util-linux-08cce2e1cc659548553a8353a938813b826d7943.tar.xz
kernel-qcow2-util-linux-08cce2e1cc659548553a8353a938813b826d7943.zip
libmount: fix use of preprocessor identifier
libmount/src/context_mount.c:990:5: warning: undefined preprocessor identifier 'USE_LIBMOUNT_SUPPORT_MTAB' Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Diffstat (limited to 'libmount/src/context_mount.c')
-rw-r--r--libmount/src/context_mount.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libmount/src/context_mount.c b/libmount/src/context_mount.c
index 23f0e303a..6368e9ba8 100644
--- a/libmount/src/context_mount.c
+++ b/libmount/src/context_mount.c
@@ -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) {