summaryrefslogtreecommitdiff
path: root/src/responder/sudo
diff options
context:
space:
mode:
authorPavel Březina <pbrezina@redhat.com>2012-11-09 13:31:52 +0100
committerJakub Hrozek <jhrozek@redhat.com>2012-11-14 17:11:15 +0100
commitee500ab8a901b9a9455e272f15cd2532df13a826 (patch)
tree28135b9acb89c22b89e0e3f257a309db9d3518d4 /src/responder/sudo
parent5063dcc5ab685dce325b13b9c1e93cee2a673e60 (diff)
downloadsssd-ee500ab8a901b9a9455e272f15cd2532df13a826.tar.gz
sssd-ee500ab8a901b9a9455e272f15cd2532df13a826.tar.bz2
sssd-ee500ab8a901b9a9455e272f15cd2532df13a826.zip
sudo: fix missing parameter in two debug messages
Diffstat (limited to 'src/responder/sudo')
-rw-r--r--src/responder/sudo/sudosrv_get_sudorules.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/responder/sudo/sudosrv_get_sudorules.c b/src/responder/sudo/sudosrv_get_sudorules.c
index b6e016c7..e7b9ca8c 100644
--- a/src/responder/sudo/sudosrv_get_sudorules.c
+++ b/src/responder/sudo/sudosrv_get_sudorules.c
@@ -369,7 +369,7 @@ errno_t sudosrv_get_rules(struct sudo_cmd_ctx *cmd_ctx)
NULL, &groupnames);
if (ret != EOK) {
DEBUG(SSSDBG_CRIT_FAILURE,
- ("Unable to retrieve user info [%d]: %s\n", strerror(ret)));
+ ("Unable to retrieve user info [%d]: %s\n", ret, strerror(ret)));
goto done;
}
@@ -382,8 +382,8 @@ errno_t sudosrv_get_rules(struct sudo_cmd_ctx *cmd_ctx)
cmd_ctx->uid, groupnames,
&expired_rules, &expired_rules_num);
if (ret != EOK) {
- DEBUG(SSSDBG_CRIT_FAILURE,
- ("Unable to retrieve expired sudo rules [%d]: %s\n", strerror(ret)));
+ DEBUG(SSSDBG_CRIT_FAILURE, ("Unable to retrieve expired sudo rules "
+ "[%d]: %s\n", ret, strerror(ret)));
goto done;
}