diff options
author | Karel Zak | 2013-04-12 15:04:57 +0200 |
---|---|---|
committer | Karel Zak | 2013-04-12 15:04:57 +0200 |
commit | 2d87a7dc844572a60648aa6c71a2c15240ba7ffc (patch) | |
tree | bc7e0186da788842d8c10b30a8ec80ce0378a388 /libmount/src/context.c | |
parent | tests: use udevadm settle rather than sleep (diff) | |
download | kernel-qcow2-util-linux-2d87a7dc844572a60648aa6c71a2c15240ba7ffc.tar.gz kernel-qcow2-util-linux-2d87a7dc844572a60648aa6c71a2c15240ba7ffc.tar.xz kernel-qcow2-util-linux-2d87a7dc844572a60648aa6c71a2c15240ba7ffc.zip |
libmount: add debug message to guess FS function
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'libmount/src/context.c')
-rw-r--r-- | libmount/src/context.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libmount/src/context.c b/libmount/src/context.c index 38f80de7a..af16f6472 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)) |