diff options
author | Karel Zak | 2012-02-03 12:35:36 +0100 |
---|---|---|
committer | Karel Zak | 2012-02-03 12:35:36 +0100 |
commit | 178537eda9b3a5c40bb62ebdfe4c7a1e9917b58c (patch) | |
tree | 367946bef6f576259ec1c98193412978c80d3d43 /libmount/src/context_mount.c | |
parent | fdisk: remove uneecessary code (diff) | |
download | kernel-qcow2-util-linux-178537eda9b3a5c40bb62ebdfe4c7a1e9917b58c.tar.gz kernel-qcow2-util-linux-178537eda9b3a5c40bb62ebdfe4c7a1e9917b58c.tar.xz kernel-qcow2-util-linux-178537eda9b3a5c40bb62ebdfe4c7a1e9917b58c.zip |
libmount: use #ifdef fr selinux specific variables
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'libmount/src/context_mount.c')
-rw-r--r-- | libmount/src/context_mount.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/libmount/src/context_mount.c b/libmount/src/context_mount.c index c39d8d45a..d38aa16be 100644 --- a/libmount/src/context_mount.c +++ b/libmount/src/context_mount.c @@ -27,12 +27,14 @@ */ static int fix_optstr(struct libmnt_context *cxt) { - int rc = 0, se_rem = 0, se_fix = 0; + int rc = 0; char *next; char *name, *val; size_t namesz, valsz; struct libmnt_fs *fs; - +#ifdef HAVE_LIBSELINUX + int se_fix = 0, se_rem = 0; +#endif assert(cxt); assert(cxt->fs); assert((cxt->flags & MNT_FL_MOUNTFLAGS_MERGED)); |