* [PATCH] mount: define fallback selinux_warning macro with 2 params
@ 2012-01-23 14:31 Dave Reisner
2012-01-28 16:10 ` Dave Reisner
0 siblings, 1 reply; 2+ messages in thread
From: Dave Reisner @ 2012-01-23 14:31 UTC (permalink / raw)
To: util-linux; +Cc: Dave Reisner
Signed-off-by: Dave Reisner <dreisner@archlinux.org>
---
sys-utils/mount.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/sys-utils/mount.c b/sys-utils/mount.c
index 280bab0..7c11811 100644
--- a/sys-utils/mount.c
+++ b/sys-utils/mount.c
@@ -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
--
1.7.8.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] mount: define fallback selinux_warning macro with 2 params
2012-01-23 14:31 [PATCH] mount: define fallback selinux_warning macro with 2 params Dave Reisner
@ 2012-01-28 16:10 ` Dave Reisner
0 siblings, 0 replies; 2+ messages in thread
From: Dave Reisner @ 2012-01-28 16:10 UTC (permalink / raw)
To: util-linux
On Mon, Jan 23, 2012 at 09:31:24AM -0500, Dave Reisner wrote:
> Signed-off-by: Dave Reisner <dreisner@archlinux.org>
> ---
> sys-utils/mount.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/sys-utils/mount.c b/sys-utils/mount.c
> index 280bab0..7c11811 100644
> --- a/sys-utils/mount.c
> +++ b/sys-utils/mount.c
> @@ -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
>
>
> --
> 1.7.8.4
>
Pinging this in case it was overlooked. It fixes the build for those of
us not using selinux.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-01-28 16:10 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-23 14:31 [PATCH] mount: define fallback selinux_warning macro with 2 params Dave Reisner
2012-01-28 16:10 ` Dave Reisner
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox