diff options
Diffstat (limited to 'src/util/user_info_msg.c')
-rw-r--r-- | src/util/user_info_msg.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util/user_info_msg.c b/src/util/user_info_msg.c index e95e91d66..69d4a4cb6 100644 --- a/src/util/user_info_msg.c +++ b/src/util/user_info_msg.c @@ -39,7 +39,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; } @@ -48,7 +48,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; |