diff options
Diffstat (limited to 'libmount/src/context.c')
-rw-r--r-- | libmount/src/context.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libmount/src/context.c b/libmount/src/context.c index c53a63954..87ccccfc6 100644 --- a/libmount/src/context.c +++ b/libmount/src/context.c @@ -369,7 +369,7 @@ int mnt_context_disable_canonicalize(struct libmnt_context *cxt, int disable) */ int mnt_context_is_nocanonicalize(struct libmnt_context *cxt) { - return cxt && (cxt->flags & MNT_FL_NOCANONICALIZE) ? 1 : 0; + return cxt->flags & MNT_FL_NOCANONICALIZE ? 1 : 0; } /** |