From 69c83119c0504fd1590299b8a4ecdabf86a8f18d Mon Sep 17 00:00:00 2001 From: Lukas Slebodnik Date: Wed, 17 Jul 2013 14:03:41 +0200 Subject: Fix formating of variables with type defined in stdint.h --- src/providers/proxy/proxy_child.c | 4 ++-- src/providers/proxy/proxy_init.c | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) (limited to 'src/providers/proxy') diff --git a/src/providers/proxy/proxy_child.c b/src/providers/proxy/proxy_child.c index 6f95ede6..66afcfb6 100644 --- a/src/providers/proxy/proxy_child.c +++ b/src/providers/proxy/proxy_child.c @@ -430,8 +430,8 @@ int proxy_child_send_id(struct sbus_connection *conn, return ENOMEM; } - DEBUG(4, ("Sending ID to Proxy Backend: (%d,%ld)\n", - version, id)); + DEBUG(SSSDBG_FUNC_DATA, ("Sending ID to Proxy Backend: (%d,%"PRIu32")\n", + version, id)); ret = dbus_message_append_args(msg, DBUS_TYPE_UINT16, &version, diff --git a/src/providers/proxy/proxy_init.c b/src/providers/proxy/proxy_init.c index 2b154a07..ec2b1935 100644 --- a/src/providers/proxy/proxy_init.c +++ b/src/providers/proxy/proxy_init.c @@ -22,6 +22,7 @@ along with this program. If not, see . */ +#include "util/sss_format.h" #include "providers/proxy/proxy.h" static int client_registration(DBusMessage *message, @@ -415,7 +416,7 @@ static int client_registration(DBusMessage *message, return EIO; } - DEBUG(4, ("Proxy client [%ld] connected\n", cli_id)); + DEBUG(SSSDBG_FUNC_DATA, ("Proxy client [%"PRIu32"] connected\n", cli_id)); /* Check the hash table */ key.type = HASH_KEY_ULONG; -- cgit