From 2d87a7dc844572a60648aa6c71a2c15240ba7ffc Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Fri, 12 Apr 2013 15:04:57 +0200 Subject: [PATCH] libmount: add debug message to guess FS function Signed-off-by: Karel Zak --- libmount/src/context.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libmount/src/context.c b/libmount/src/context.c index 38f80de7a8..af16f64721 100644 --- a/libmount/src/context.c +++ b/libmount/src/context.c @@ -1554,6 +1554,7 @@ int mnt_context_guess_fstype(struct libmnt_context *cxt) if (ambi) rc = -MNT_ERR_AMBIFS; } else { + DBG(CXT, mnt_debug_h(cxt, "access(%s) failed [%m]", dev)); if (strchr(dev, ':') != NULL) rc = mnt_fs_set_fstype(cxt->fs, "nfs"); else if (!strncmp(dev, "//", 2)) -- 2.47.2