summaryrefslogtreecommitdiffstats
path: root/src/tools
diff options
context:
space:
mode:
authorNikolai Kondrashov <Nikolai.Kondrashov@redhat.com>2013-12-20 16:12:34 +0200
committerJakub Hrozek <jhrozek@redhat.com>2014-02-12 22:30:58 +0100
commit45a1d9d597df977354428440aeff11c6a0a947fe (patch)
tree32f63400b94de5b3400f1569ffec03293f91ea99 /src/tools
parenta3c8390d19593b1e5277d95bfb4ab206d4785150 (diff)
downloadsssd-45a1d9d597df977354428440aeff11c6a0a947fe.tar.gz
sssd-45a1d9d597df977354428440aeff11c6a0a947fe.tar.xz
sssd-45a1d9d597df977354428440aeff11c6a0a947fe.zip
Fixup DEBUG macro invocations update
Fix mistakes made by the update script in f87797f "Make DEBUG macro invocations variadic". Reviewed-by: Jakub Hrozek <jhrozek@redhat.com> Reviewed-by: Stephen Gallagher <sgallagh@redhat.com> Reviewed-by: Simo Sorce <simo@redhat.com>
Diffstat (limited to 'src/tools')
-rw-r--r--src/tools/selinux.c4
1 files changed, 2 insertions, 2 deletions
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;
}