Skip to contentSkip to conversation

mount: define fallback selinux_warning macro with 2 params

PATCH In review Dave Reisner 1 participant 2 messages Jan 23, 2012 – Jan 28, 2012 Util-Linux package

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mount: define fallback selinux_warning macro with 2 params

---
 sys-utils/mount.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
sys-utils/mount.c +1 -1
index 280bab0..7c11811 100644
@@ -286,7 +286,7 @@ static void selinux_warning(struct libmnt_context *cxt, const char *tgt)
 	}
 }
 #else
-# define selinux_warning(_x)
+# define selinux_warning(_x, _y)
 #endif
 
 
Signature · 1 line
1.7.8.4
#1 lore raw
Quoted 21 lines · Dave Reisner
---
 sys-utils/mount.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
sys-utils/mount.c +1 -1
index 280bab0..7c11811 100644
@@ -286,7 +286,7 @@ static void selinux_warning(struct libmnt_context *cxt, const char *tgt)
 	}
 }
 #else
-# define selinux_warning(_x)
+# define selinux_warning(_x, _y)
 #endif
 
 
Signature · 1 line
1.7.8.4

Pinging this in case it was overlooked. It fixes the build for those of us not using selinux.