From f899952c08a72bd2f7e86f6fd35086749ee48b73 Mon Sep 17 00:00:00 2001 From: Arthur de Jong Date: Fri, 9 Sep 2011 16:08:44 +0000 Subject: make validation log messages consistent git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1542 ef36b2f9-881f-0410-afb5-c4e39611909c --- nslcd/ether.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'nslcd/ether.c') diff --git a/nslcd/ether.c b/nslcd/ether.c index 59e1501..9ba6d1b 100644 --- a/nslcd/ether.c +++ b/nslcd/ether.c @@ -123,7 +123,7 @@ static int write_ether(TFILE *fp,MYLDAP_ENTRY *entry, names=myldap_get_values(entry,attmap_ether_cn); if ((names==NULL)||(names[0]==NULL)) { - log_log(LOG_WARNING,"ether entry %s does not contain %s value", + log_log(LOG_WARNING,"%s: %s: missing", myldap_get_dn(entry),attmap_ether_cn); return 0; } @@ -139,7 +139,7 @@ static int write_ether(TFILE *fp,MYLDAP_ENTRY *entry, ethers=myldap_get_values(entry,attmap_ether_macAddress); if ((ethers==NULL)||(ethers[0]==NULL)) { - log_log(LOG_WARNING,"ether entry %s does not contain %s value", + log_log(LOG_WARNING,"%s: %s: missing", myldap_get_dn(entry),attmap_ether_macAddress); return 0; } -- cgit v1.2.3