From 74aad572e047ebb24c3d033001eab6d833fe02b3 Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Tue, 12 Nov 2013 15:17:28 +0100 Subject: [PATCH] libmount: fix typo in smack path Signed-off-by: Karel Zak --- libmount/src/context_mount.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libmount/src/context_mount.c b/libmount/src/context_mount.c index da6ea9b7d6..a34d3917f4 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)) { -- 2.47.3