summaryrefslogtreecommitdiffstats
path: root/src
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:33:48 +0100
commit5021508bd106798f711bb15947511a18836f764b (patch)
tree7c2bfccd2ad69a1cbd28d474b6bd1e074c128dbf /src
parentaf71dfe79d773e5975a1489088c2b86d06e4b0af (diff)
downloadsssd-5021508bd106798f711bb15947511a18836f764b.tar.gz
sssd-5021508bd106798f711bb15947511a18836f764b.tar.xz
sssd-5021508bd106798f711bb15947511a18836f764b.zip
sudo: fix missing parameter in two debug messages
Diffstat (limited to 'src')
-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 b6e016c73..e7b9ca8c5 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;
}