From 45a1d9d597df977354428440aeff11c6a0a947fe Mon Sep 17 00:00:00 2001 From: Nikolai Kondrashov Date: Fri, 20 Dec 2013 16:12:34 +0200 Subject: Fixup DEBUG macro invocations update Fix mistakes made by the update script in f87797f "Make DEBUG macro invocations variadic". Reviewed-by: Jakub Hrozek Reviewed-by: Stephen Gallagher Reviewed-by: Simo Sorce --- src/tools/selinux.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/tools/selinux.c') diff --git a/src/tools/selinux.c b/src/tools/selinux.c index c0e89fb59..a5943c9f1 100644 --- a/src/tools/selinux.c +++ b/src/tools/selinux.c @@ -92,7 +92,7 @@ int reset_selinux_file_context(void) #ifdef HAVE_SEMANAGE /* turn libselinux messages into SSSD DEBUG() calls */ -static void sss_semanage_error_callbackvoid *varg, +static void sss_semanage_error_callback(void *varg, semanage_handle_t *handle, const char *fmt, ...) { @@ -133,7 +133,7 @@ static semanage_handle_t *sss_semanage_init(void) handle = semanage_handle_create(); if (!handle) { - DEBUG(1, ("Cannot create SELinux management handle\n"); + DEBUG(1, "Cannot create SELinux management handle\n"); return NULL; } -- cgit