summaryrefslogtreecommitdiff
path: root/src/providers
diff options
context:
space:
mode:
authorLukas Slebodnik <lslebodn@redhat.com>2013-07-17 14:03:41 +0200
committerJakub Hrozek <jhrozek@redhat.com>2013-09-11 19:44:54 +0200
commit69c83119c0504fd1590299b8a4ecdabf86a8f18d (patch)
tree7cfbc29a203d8a08ebc703891857fb4f22fa8ee6 /src/providers
parent10a9ff0c9b4f347ec24dab887a538b37274ee498 (diff)
downloadsssd-69c83119c0504fd1590299b8a4ecdabf86a8f18d.tar.gz
sssd-69c83119c0504fd1590299b8a4ecdabf86a8f18d.tar.bz2
sssd-69c83119c0504fd1590299b8a4ecdabf86a8f18d.zip
Fix formating of variables with type defined in stdint.h
Diffstat (limited to 'src/providers')
-rw-r--r--src/providers/ldap/sdap_access.c5
-rw-r--r--src/providers/proxy/proxy_child.c4
-rw-r--r--src/providers/proxy/proxy_init.c3
3 files changed, 7 insertions, 5 deletions
diff --git a/src/providers/ldap/sdap_access.c b/src/providers/ldap/sdap_access.c
index 9ea90775..a4c63865 100644
--- a/src/providers/ldap/sdap_access.c
+++ b/src/providers/ldap/sdap_access.c
@@ -338,8 +338,9 @@ static errno_t sdap_account_expired_ad(struct pam_data *pd,
expiration_time = ldb_msg_find_attr_as_uint64(user_entry,
SYSDB_AD_ACCOUNT_EXPIRES, 0);
- DEBUG(9, ("Expiration time for user [%s] is [%lld].\n",
- pd->user, expiration_time));
+ DEBUG(SSSDBG_TRACE_ALL,
+ ("Expiration time for user [%s] is [%"PRIu64"].\n",
+ pd->user, expiration_time));
if (uac & UAC_ACCOUNTDISABLE) {
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 <http://www.gnu.org/licenses/>.
*/
+#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;