summaryrefslogtreecommitdiffstats
path: root/libmount/src/utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'libmount/src/utils.c')
-rw-r--r--libmount/src/utils.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/libmount/src/utils.c b/libmount/src/utils.c
index 034d3436f..4f4d10bf9 100644
--- a/libmount/src/utils.c
+++ b/libmount/src/utils.c
@@ -1037,7 +1037,12 @@ char *mnt_get_kernel_cmdline_option(const char *name)
return res;
}
-/*
+/**
+ * mnt_guess_system_root:
+ * @devno: device number or zero
+ * @cache: paths cache or NULL
+ * @path: returns allocated path
+ *
* Converts @devno to the real device name if devno major number is greater
* than zero, otherwise use root= kernel cmdline option to get device name.
*