From ee500ab8a901b9a9455e272f15cd2532df13a826 Mon Sep 17 00:00:00 2001 From: Pavel Březina Date: Fri, 9 Nov 2012 13:31:52 +0100 Subject: sudo: fix missing parameter in two debug messages --- src/responder/sudo/sudosrv_get_sudorules.c | 6 +++--- 1 file 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; } -- cgit