aboutsummaryrefslogtreecommitdiffstats
path: root/libmount/src/optstr.c
diff options
context:
space:
mode:
Diffstat (limited to 'libmount/src/optstr.c')
-rw-r--r--libmount/src/optstr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libmount/src/optstr.c b/libmount/src/optstr.c
index 30cd1af616..ac20d87557 100644
--- a/libmount/src/optstr.c
+++ b/libmount/src/optstr.c
@@ -914,7 +914,7 @@ int mnt_match_options(const char *optstr, const char *pattern)
if (*name == '+')
name++, namesz--;
- else if ((no = (startswith(name, "no") != NULL))) {
+ else if ((no = (ul_startswith(name, "no") != NULL))) {
name += 2, namesz -= 2;
if (!*name || *name == ',') {
match = 0;