summaryrefslogtreecommitdiffstats
path: root/src/util/user_info_msg.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/user_info_msg.c')
-rw-r--r--src/util/user_info_msg.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util/user_info_msg.c b/src/util/user_info_msg.c
index 89d7456e5..1399544c5 100644
--- a/src/util/user_info_msg.c
+++ b/src/util/user_info_msg.c
@@ -40,7 +40,7 @@ errno_t pack_user_info_chpass_error(TALLOC_CTX *mem_ctx,
*resp_len = 2 * sizeof(uint32_t) + err_len;
resp = talloc_size(mem_ctx, *resp_len);
if (resp == NULL) {
- DEBUG(1, "talloc_size failed.\n");
+ DEBUG(SSSDBG_CRIT_FAILURE, "talloc_size failed.\n");
return ENOMEM;
}
@@ -49,7 +49,7 @@ errno_t pack_user_info_chpass_error(TALLOC_CTX *mem_ctx,
SAFEALIGN_SET_UINT32(&resp[p], err_len, &p);
safealign_memcpy(&resp[p], user_error_message, err_len, &p);
if (p != *resp_len) {
- DEBUG(0, "Size mismatch\n");
+ DEBUG(SSSDBG_FATAL_FAILURE, "Size mismatch\n");
}
*_resp = resp;