summaryrefslogtreecommitdiffstats
path: root/libmount/src/context_mount.c
diff options
context:
space:
mode:
authorKarel Zak2013-11-12 15:17:28 +0100
committerKarel Zak2013-11-12 15:17:28 +0100
commit74aad572e047ebb24c3d033001eab6d833fe02b3 (patch)
tree5b88746a16721a21d48884900cf67e4a40e3940d /libmount/src/context_mount.c
parentlibmount: remove smackfs* option when SMACK not enabled (diff)
downloadkernel-qcow2-util-linux-74aad572e047ebb24c3d033001eab6d833fe02b3.tar.gz
kernel-qcow2-util-linux-74aad572e047ebb24c3d033001eab6d833fe02b3.tar.xz
kernel-qcow2-util-linux-74aad572e047ebb24c3d033001eab6d833fe02b3.zip
libmount: fix typo in smack path
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'libmount/src/context_mount.c')
-rw-r--r--libmount/src/context_mount.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libmount/src/context_mount.c b/libmount/src/context_mount.c
index da6ea9b7d..a34d3917f 100644
--- a/libmount/src/context_mount.c
+++ b/libmount/src/context_mount.c
@@ -211,7 +211,7 @@ static int fix_optstr(struct libmnt_context *cxt)
}
#endif
#ifdef HAVE_SMACK
- if (access("sys/fs/smackfs", F_OK) != 0)
+ if (access("/sys/fs/smackfs", F_OK) != 0)
sm_rem = 1;
#endif
while (!mnt_optstr_next_option(&next, &name, &namesz, &val, &valsz)) {