Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/nslcd/ether.c
diff options
context:
space:
mode:
authorArthur de Jong <arthur@arthurdejong.org>2011-09-09 18:08:44 +0200
committerArthur de Jong <arthur@arthurdejong.org>2011-09-09 18:08:44 +0200
commitf899952c08a72bd2f7e86f6fd35086749ee48b73 (patch)
treee5c6883cbd33d7da8438b5e22ccaedd16de05f0a /nslcd/ether.c
parent25139e11b2bcfcad3572eb69b8acfd7ee1abd336 (diff)
make validation log messages consistent
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1542 ef36b2f9-881f-0410-afb5-c4e39611909c
Diffstat (limited to 'nslcd/ether.c')
-rw-r--r--nslcd/ether.c4
1 files changed, 2 insertions, 2 deletions
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;
}