]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
libmount: add debug message to guess FS function
authorKarel Zak <kzak@redhat.com>
Fri, 12 Apr 2013 13:04:57 +0000 (15:04 +0200)
committerKarel Zak <kzak@redhat.com>
Fri, 12 Apr 2013 13:04:57 +0000 (15:04 +0200)
Signed-off-by: Karel Zak <kzak@redhat.com>
libmount/src/context.c

index 38f80de7a882408778ab6292dede63130eb6a16c..af16f647217b90105aa39d7e2a7496d403fa4647 100644 (file)
@@ -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))