summaryrefslogtreecommitdiff
path: root/src/providers
diff options
context:
space:
mode:
authorLukas Slebodnik <lslebodn@redhat.com>2013-07-17 16:10:51 +0200
committerJakub Hrozek <jhrozek@redhat.com>2013-09-11 19:44:55 +0200
commitaf58b15fa7f20e33736d79c6a4b3becb568517ca (patch)
treedb6a76cc4293012412c66123b97f0ff9ad0b6a41 /src/providers
parent1412a7655c53452721d19813b0ab4a1afd2b0744 (diff)
downloadsssd-af58b15fa7f20e33736d79c6a4b3becb568517ca.tar.gz
sssd-af58b15fa7f20e33736d79c6a4b3becb568517ca.tar.bz2
sssd-af58b15fa7f20e33736d79c6a4b3becb568517ca.zip
Fix formating of variables with type: id_t
Diffstat (limited to 'src/providers')
-rw-r--r--src/providers/ldap/sdap_idmap.c12
-rw-r--r--src/providers/proxy/proxy_init.c2
2 files changed, 9 insertions, 5 deletions
diff --git a/src/providers/ldap/sdap_idmap.c b/src/providers/ldap/sdap_idmap.c
index 0939c31e..7a727719 100644
--- a/src/providers/ldap/sdap_idmap.c
+++ b/src/providers/ldap/sdap_idmap.c
@@ -159,7 +159,8 @@ sdap_idmap_init(TALLOC_CTX *mem_ctx,
|| (idmap_upper-idmap_lower) < rangesize)
{
DEBUG(SSSDBG_FATAL_FAILURE,
- ("Invalid settings for range selection: [%d][%d][%d]\n",
+ ("Invalid settings for range selection: "
+ "[%"SPRIid"][%"SPRIid"][%"SPRIid"]\n",
idmap_lower, idmap_upper, rangesize));
ret = EINVAL;
goto done;
@@ -254,7 +255,8 @@ sdap_idmap_init(TALLOC_CTX *mem_ctx,
sid_str, slice_num);
if (ret != EOK) {
DEBUG(SSSDBG_CRIT_FAILURE,
- ("Could not add domain [%s][%s][%u] to ID map: [%s]\n",
+ ("Could not add domain [%s][%s][%"SPRIid"] "
+ "to ID map: [%s]\n",
dom_name, sid_str, slice_num, strerror(ret)));
goto done;
}
@@ -333,13 +335,13 @@ sdap_idmap_add_domain(struct sdap_idmap_ctx *idmap_ctx,
goto done;
}
DEBUG(SSSDBG_TRACE_LIBS,
- ("Adding domain [%s] as slice [%llu]\n", dom_sid, slice));
+ ("Adding domain [%s] as slice [%"SPRIid"]\n", dom_sid, slice));
if (range.max > idmap_upper) {
/* This should never happen */
DEBUG(SSSDBG_CRIT_FAILURE,
- ("BUG: Range maximum exceeds the global maximum: %d > %d\n",
- range.max, idmap_upper));
+ ("BUG: Range maximum exceeds the global maximum: "
+ "%d > %"SPRIid"\n", range.max, idmap_upper));
ret = EINVAL;
goto done;
}
diff --git a/src/providers/proxy/proxy_init.c b/src/providers/proxy/proxy_init.c
index ec2b1935..491482d8 100644
--- a/src/providers/proxy/proxy_init.c
+++ b/src/providers/proxy/proxy_init.c
@@ -22,6 +22,8 @@
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+#include "config.h"
+
#include "util/sss_format.h"
#include "providers/proxy/proxy.h"