From 71e234151ddc6b50576364c30bda2b72264b1083 Mon Sep 17 00:00:00 2001 From: Lukas Slebodnik Date: Wed, 17 Jul 2013 13:00:49 +0200 Subject: Fix formating of variables with type: ssize_t --- src/providers/ipa/ipa_selinux.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/providers/ipa') diff --git a/src/providers/ipa/ipa_selinux.c b/src/providers/ipa/ipa_selinux.c index 39bebebf..5f734338 100644 --- a/src/providers/ipa/ipa_selinux.c +++ b/src/providers/ipa/ipa_selinux.c @@ -672,7 +672,7 @@ static errno_t write_selinux_login_file(const char *username, char *string) char *path = NULL; char *tmp_path = NULL; ssize_t written; - int len; + size_t len; int fd = -1; mode_t oldmask; TALLOC_CTX *tmp_ctx; @@ -743,7 +743,7 @@ static errno_t write_selinux_login_file(const char *username, char *string) } if (written != len) { - DEBUG(SSSDBG_OP_FAILURE, ("Expected to write %d bytes, wrote %d", + DEBUG(SSSDBG_OP_FAILURE, ("Expected to write %zd bytes, wrote %zu", written, len)); ret = EIO; goto done; -- cgit