summaryrefslogtreecommitdiff
path: root/libmount/src/utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'libmount/src/utils.c')
-rw-r--r--libmount/src/utils.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libmount/src/utils.c b/libmount/src/utils.c
index 245a3b25..0cfefb34 100644
--- a/libmount/src/utils.c
+++ b/libmount/src/utils.c
@@ -473,6 +473,10 @@ static int get_filesystems(const char *filename, char ***filesystems, const char
return rc;
}
+/*
+ * Returns zero also if not found any matching filesystem. Always check
+ * @filesystems pointer!
+ */
int mnt_get_filesystems(char ***filesystems, const char *pattern)
{
int rc;