ehlo,

I found this simple problem, when I was testing Michal's patch for mmap_cache
                                "Check slot validity before MC_SLOT_TO_PTR."

Patch is attached.

LS
>From 89e47fd8d0bf67409a6848c2f22adebb9e83f29d Mon Sep 17 00:00:00 2001
From: Lukas Slebodnik <[email protected]>
Date: Mon, 16 Sep 2013 10:42:34 +0200
Subject: [PATCH] Add missing new line in DEBUG message

---
 src/responder/nss/nsssrv_cmd.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/responder/nss/nsssrv_cmd.c b/src/responder/nss/nsssrv_cmd.c
index 
18ccdeacca0d3a0314526e7728b3ffe42e42245a..229548976744220b6f10b184a28a8ac8c11559a7
 100644
--- a/src/responder/nss/nsssrv_cmd.c
+++ b/src/responder/nss/nsssrv_cmd.c
@@ -440,8 +440,9 @@ static int fill_pwent(struct sss_packet *packet,
                                           uid, gid,
                                           &gecos, &homedir, &shell);
             if (ret != EOK && ret != ENOMEM) {
-                DEBUG(1, ("Failed to store user %s(%s) in mmap cache!",
-                          name.str, domain));
+                DEBUG(SSSDBG_CRIT_FAILURE,
+                      ("Failed to store user %s(%s) in mmap cache!\n",
+                        name.str, domain));
             }
         }
     }
-- 
1.8.3.1

_______________________________________________
sssd-devel mailing list
[email protected]
https://lists.fedorahosted.org/mailman/listinfo/sssd-devel

Reply via email to