diff options
Diffstat (limited to 'libmount/src/optmap.c')
| -rw-r--r-- | libmount/src/optmap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libmount/src/optmap.c b/libmount/src/optmap.c index 1f3ace3d8e..a080d8df6f 100644 --- a/libmount/src/optmap.c +++ b/libmount/src/optmap.c @@ -249,7 +249,7 @@ const struct libmnt_optmap *mnt_optmap_get_entry( } continue; } - if (strncmp(ent->name, name, namelen)) + if (strncmp(ent->name, name, namelen) != 0) continue; p = ent->name + namelen; if (*p == '\0' || *p == '=' || *p == '[') { |
