nwrap: log hash table full message at error level
authorMichael Adam <obnox@samba.org>
Wed, 11 Nov 2015 10:30:13 +0000 (11:30 +0100)
committerMichael Adam <obnox@samba.org>
Mon, 11 Jan 2016 11:25:29 +0000 (12:25 +0100)
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
lib/nss_wrapper/nss_wrapper.c

index 6676b6abaf8bf017b34cb808517f5dccf09af4fc..4f9251e72f653a7259a554ac74c6cd8b78dc24d9 100644 (file)
@@ -2581,7 +2581,7 @@ static bool nwrap_add_ai(char *const ip_addr, struct nwrap_entdata *const ed)
 
        p = hsearch(e, ENTER);
        if (p == NULL) {
-               NWRAP_LOG(NWRAP_LOG_DEBUG, "Hash table is full");
+               NWRAP_LOG(NWRAP_LOG_ERROR, "Hash table is full");
                return false;
        }
 
@@ -2606,7 +2606,7 @@ static bool nwrap_add_hname_add_new(char *const h_name,
 
        p = hsearch(e, ENTER);
        if (p == NULL) {
-               NWRAP_LOG(NWRAP_LOG_DEBUG, "Hash table is full!");
+               NWRAP_LOG(NWRAP_LOG_ERROR, "Hash table is full!");
                return false;
        }