s4-dns: dlz_bind9: improve log message consistency
authorArvid Requate <requate@univention.de>
Sun, 18 May 2014 17:16:06 +0000 (19:16 +0200)
committerAndrew Bartlett <abartlet@samba.org>
Mon, 26 May 2014 03:55:46 +0000 (05:55 +0200)
Change-Id: I0a12c048fd4e667b9aa0777f99c8f8306fc090ea
Signed-off-by: Arvid Requate <requate@univention.de>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Kai Blin <kai@samba.org>
Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Mon May 26 05:55:46 CEST 2014 on sn-devel-104

source4/dns_server/dlz_bind9.c

index fbb07f3bdf36b3479dfdbd8583070b6918300d6e..3ffb06b3ef7cb3f73718b448e933c3b814576dbc 100644 (file)
@@ -210,7 +210,7 @@ static bool b9_format(struct dlz_bind9_data *state,
        }
 
        default:
-               state->log(ISC_LOG_ERROR, "samba b9_putrr: unhandled record type %u",
+               state->log(ISC_LOG_ERROR, "samba_dlz b9_format: unhandled record type %u",
                           rec->wType);
                return false;
        }
@@ -379,14 +379,14 @@ static bool b9_parse(struct dlz_bind9_data *state,
                break;
 
        default:
-               state->log(ISC_LOG_ERROR, "samba b9_parse: unhandled record type %u",
+               state->log(ISC_LOG_ERROR, "samba_dlz b9_parse: unhandled record type %u",
                           rec->wType);
                return false;
        }
 
        /* we should be at the end of the buffer now */
        if (strtok_r(NULL, "\t ", &saveptr) != NULL) {
-               state->log(ISC_LOG_ERROR, "samba b9_parse: unexpected data at end of string for '%s'",
+               state->log(ISC_LOG_ERROR, "samba_dlz b9_parse: unexpected data at end of string for '%s'",
                           rdatastr);
                return false;
        }
@@ -1496,7 +1496,7 @@ static bool b9_record_match(struct dlz_bind9_data *state,
                        rec1->data.soa.expire == rec2->data.soa.expire &&
                        rec1->data.soa.minimum == rec2->data.soa.minimum;
        default:
-               state->log(ISC_LOG_ERROR, "samba b9_putrr: unhandled record type %u",
+               state->log(ISC_LOG_ERROR, "samba_dlz b9_record_match: unhandled record type %u",
                           rec1->wType);
                break;
        }