diff options
Diffstat (limited to 'libmount/src/context_mount.c')
-rw-r--r-- | libmount/src/context_mount.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libmount/src/context_mount.c b/libmount/src/context_mount.c index 71a4e85f9..455ef2ef0 100644 --- a/libmount/src/context_mount.c +++ b/libmount/src/context_mount.c @@ -787,8 +787,9 @@ static int do_mount_by_types(struct libmnt_context *cxt, const char *types) if (strcmp(p, "auto") == 0) { rc = mnt_context_guess_srcpath_fstype(cxt, &autotype); if (rc) { - DBG(CXT, ul_debugobj(cxt, "failed to guess FS type")); + DBG(CXT, ul_debugobj(cxt, "failed to guess FS type [rc=%d]", rc)); free(p0); + free(autotype); return rc; } p = autotype; |