diff options
author | Lukas Slebodnik <lslebodn@redhat.com> | 2013-07-17 12:41:33 +0200 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2013-09-11 19:44:54 +0200 |
commit | 0e65abe5cf2abf5d4b431cf6bd161b419f07901d (patch) | |
tree | af685729a48d4f1874113f25011484022337b13f /src/providers/ipa | |
parent | 71e234151ddc6b50576364c30bda2b72264b1083 (diff) | |
download | sssd-0e65abe5cf2abf5d4b431cf6bd161b419f07901d.tar.gz sssd-0e65abe5cf2abf5d4b431cf6bd161b419f07901d.tar.bz2 sssd-0e65abe5cf2abf5d4b431cf6bd161b419f07901d.zip |
Fix formating of variables with type: size_t
Diffstat (limited to 'src/providers/ipa')
-rw-r--r-- | src/providers/ipa/ipa_config.c | 2 | ||||
-rw-r--r-- | src/providers/ipa/ipa_idmap.c | 2 | ||||
-rw-r--r-- | src/providers/ipa/ipa_netgroups.c | 6 | ||||
-rw-r--r-- | src/providers/ipa/ipa_selinux.c | 4 | ||||
-rw-r--r-- | src/providers/ipa/ipa_selinux_maps.c | 4 | ||||
-rw-r--r-- | src/providers/ipa/ipa_srv.c | 2 | ||||
-rw-r--r-- | src/providers/ipa/ipa_subdomains_ext_groups.c | 2 |
7 files changed, 12 insertions, 10 deletions
diff --git a/src/providers/ipa/ipa_config.c b/src/providers/ipa/ipa_config.c index 05231cc7..0b392f51 100644 --- a/src/providers/ipa/ipa_config.c +++ b/src/providers/ipa/ipa_config.c @@ -125,7 +125,7 @@ static void ipa_get_config_done(struct tevent_req *subreq) if (reply_count != 1) { DEBUG(SSSDBG_OP_FAILURE, ("Unexpected number of results, expected 1, " - "got %d.\n", reply_count)); + "got %zu.\n", reply_count)); ret = EINVAL; goto done; } diff --git a/src/providers/ipa/ipa_idmap.c b/src/providers/ipa/ipa_idmap.c index c108ca75..69ab55c9 100644 --- a/src/providers/ipa/ipa_idmap.c +++ b/src/providers/ipa/ipa_idmap.c @@ -194,7 +194,7 @@ errno_t ipa_idmap_init(TALLOC_CTX *mem_ctx, } DEBUG(SSSDBG_CONF_SETTINGS, - ("Initializing [%d] domains for ID-mapping\n", range_count)); + ("Initializing [%zu] domains for ID-mapping\n", range_count)); for (c = 0; c < range_count; c++) { diff --git a/src/providers/ipa/ipa_netgroups.c b/src/providers/ipa/ipa_netgroups.c index 0f36fc9f..0deb3944 100644 --- a/src/providers/ipa/ipa_netgroups.c +++ b/src/providers/ipa/ipa_netgroups.c @@ -315,7 +315,8 @@ static void ipa_get_netgroups_process(struct tevent_req *subreq) goto done; } - DEBUG(6, ("Search for netgroups, returned %d results.\n", netgroups_count)); + DEBUG(SSSDBG_TRACE_FUNC, ("Search for netgroups, returned %zu results.\n", + netgroups_count)); if (netgroups_count == 0) { /* No netgroups found in this search */ @@ -575,7 +576,8 @@ static void ipa_netgr_members_process(struct tevent_req *subreq) goto fail; } - DEBUG(SSSDBG_TRACE_INTERNAL, ("Found %u members in current search base\n", count)); + DEBUG(SSSDBG_TRACE_INTERNAL, ("Found %zu members in current search base\n", + count)); next_call = NULL; /* While processing a batch of entities from one search base, diff --git a/src/providers/ipa/ipa_selinux.c b/src/providers/ipa/ipa_selinux.c index 5f734338..c227db93 100644 --- a/src/providers/ipa/ipa_selinux.c +++ b/src/providers/ipa/ipa_selinux.c @@ -1163,7 +1163,7 @@ static void ipa_get_selinux_maps_done(struct tevent_req *subreq) } DEBUG(SSSDBG_TRACE_FUNC, - ("Found %d SELinux user maps\n", state->nmaps)); + ("Found %zu SELinux user maps\n", state->nmaps)); check_hbac = false; for (i = 0; i < state->nmaps; i++) { @@ -1222,7 +1222,7 @@ static void ipa_get_selinux_hbac_done(struct tevent_req *subreq) ret = ipa_hbac_rule_info_recv(subreq, state, &state->hbac_rule_count, &state->hbac_rules); DEBUG(SSSDBG_TRACE_INTERNAL, - ("Received %d HBAC rules\n", state->hbac_rule_count)); + ("Received %zu HBAC rules\n", state->hbac_rule_count)); talloc_free(subreq); if (ret != EOK) { diff --git a/src/providers/ipa/ipa_selinux_maps.c b/src/providers/ipa/ipa_selinux_maps.c index b0a2c8f7..1a210689 100644 --- a/src/providers/ipa/ipa_selinux_maps.c +++ b/src/providers/ipa/ipa_selinux_maps.c @@ -165,8 +165,8 @@ static void ipa_selinux_get_maps_done(struct tevent_req *subreq) } if (count > 0) { - DEBUG(SSSDBG_TRACE_FUNC, ("Found %d user maps in current search base\n", - count)); + DEBUG(SSSDBG_TRACE_FUNC, + ("Found %zu user maps in current search base\n", count)); total_count = count + state->map_count; state->maps = talloc_realloc(state, state->maps, struct sysdb_attrs *, total_count); diff --git a/src/providers/ipa/ipa_srv.c b/src/providers/ipa/ipa_srv.c index d604871a..aa07cf05 100644 --- a/src/providers/ipa/ipa_srv.c +++ b/src/providers/ipa/ipa_srv.c @@ -173,7 +173,7 @@ static void ipa_srv_plugin_done(struct tevent_req *subreq) return; } - DEBUG(SSSDBG_TRACE_FUNC, ("Got %lu primary and %lu backup servers\n", + DEBUG(SSSDBG_TRACE_FUNC, ("Got %zu primary and %zu backup servers\n", state->num_primary_servers, state->num_backup_servers)); tevent_req_done(req); diff --git a/src/providers/ipa/ipa_subdomains_ext_groups.c b/src/providers/ipa/ipa_subdomains_ext_groups.c index b87d2248..a217c6a8 100644 --- a/src/providers/ipa/ipa_subdomains_ext_groups.c +++ b/src/providers/ipa/ipa_subdomains_ext_groups.c @@ -594,7 +594,7 @@ static void ipa_get_ext_groups_done(struct tevent_req *subreq) return; } - DEBUG(SSSDBG_TRACE_FUNC, ("[%d] external groups found.\n", + DEBUG(SSSDBG_TRACE_FUNC, ("[%zu] external groups found.\n", state->reply_count)); ret = process_ext_groups(state->server_mode->ext_groups, |