aboutsummaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
authorPetr Vorel <petr.vorel@gmail.com>2019-11-18 11:27:19 -0500
committerSteve Dickson <steved@redhat.com>2019-11-18 11:27:19 -0500
commit31bb484b22c220c561f3a95c3b7ca3ea9b96cc9b (patch)
treea053fefcc9cafef6667ac97e8652a518d9c4bc14 /utils
parentf100d07d923b5db60d42dc2453485fa0dba69a79 (diff)
downloadnfs-utils-31bb484b22c220c561f3a95c3b7ca3ea9b96cc9b.tar.gz
mountd: Fix compilation for --disable-uuid
Although code in configure.ac pretends to set USE_BLKID as 0 via AC_DEFINE_UNQUOTED, it's actually not defined support/include/config.h.in support/include/config.h /* #undef USE_BLKID */ Fixes: 8e643554 ("Allow disabling of libblkid usage.") Signed-off-by: Petr Vorel <petr.vorel@gmail.com> Signed-off-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'utils')
-rw-r--r--utils/mountd/cache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/mountd/cache.c b/utils/mountd/cache.c
index 31e9507d..e5186c78 100644
--- a/utils/mountd/cache.c
+++ b/utils/mountd/cache.c
@@ -221,7 +221,7 @@ static void auth_unix_gid(int f)
xlog(L_ERROR, "auth_unix_gid: error writing reply");
}
-#if USE_BLKID
+#ifdef USE_BLKID
static const char *get_uuid_blkdev(char *path)
{
/* We set *safe if we know that we need the