From: Karel Zak Date: Tue, 12 Nov 2013 14:17:28 +0000 (+0100) Subject: libmount: fix typo in smack path X-Git-Tag: v2.25-rc1~739 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=74aad572e047ebb24c3d033001eab6d833fe02b3;p=thirdparty%2Futil-linux.git libmount: fix typo in smack path Signed-off-by: Karel Zak --- 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)) {