diff options
author | Arthur de Jong <arthur@arthurdejong.org> | 2013-10-29 20:01:30 +0100 |
---|---|---|
committer | Arthur de Jong <arthur@arthurdejong.org> | 2013-10-29 23:20:01 +0100 |
commit | f8af48faa18b6d9017ea64f4df2d6ee2b1743df3 (patch) | |
tree | c27c3d3932b850c65854ca4b855fbb68d262207b /nslcd/common.c | |
parent | 88801f9e5a01e580adae4f386c0c755fb2a17b79 (diff) |
Fix a number of compiler warnings
This includes a number of small fixes for issues that were formerly
masked by the incorrect AC_LANG_PROGRAM check.
Diffstat (limited to 'nslcd/common.c')
-rw-r--r-- | nslcd/common.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nslcd/common.c b/nslcd/common.c index 211be1b..ade9ca6 100644 --- a/nslcd/common.c +++ b/nslcd/common.c @@ -238,8 +238,8 @@ int write_address(TFILE *fp, MYLDAP_ENTRY *entry, const char *attr, /* failure, log but write simple invalid address (otherwise the address list is messed up) */ /* TODO: have error message in correct format */ - log_log(LOG_WARNING, "%s: %s: \"%s\" unparseble", - myldap_get_dn(entry), attmap_ether_cn, addr); + log_log(LOG_WARNING, "%s: %s: \"%s\" unparsable", + myldap_get_dn(entry), attr, addr); /* write an illegal address type */ WRITE_INT32(fp, -1); /* write an emtpy address */ |