summaryrefslogtreecommitdiffstats
path: root/omusrmsg.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2008-03-06 11:26:00 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2008-03-06 11:26:00 +0000
commit8d36b9159f38815660b8c3b4a8e4ce48d0091bdc (patch)
tree6b68de9498d8f1fa11b799fd9dd4b3a4515ce811 /omusrmsg.c
parent52ac1ab34c257731efa237191ea765029d7fc8b5 (diff)
downloadrsyslog-8d36b9159f38815660b8c3b4a8e4ce48d0091bdc.tar.gz
rsyslog-8d36b9159f38815660b8c3b4a8e4ce48d0091bdc.tar.xz
rsyslog-8d36b9159f38815660b8c3b4a8e4ce48d0091bdc.zip
fixed typo (thanks to Michael Biebl)
Diffstat (limited to 'omusrmsg.c')
-rw-r--r--omusrmsg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/omusrmsg.c b/omusrmsg.c
index b8d212ac..dae025e1 100644
--- a/omusrmsg.c
+++ b/omusrmsg.c
@@ -130,7 +130,7 @@ void setutent(void)
{
assert(BSD_uf == NULL);
if ((BSD_uf = fopen(_PATH_UTMP, "r")) == NULL) {
- errmsg.LogError(NO_ERRNO, "%s", _PATH_UTMP);
+ errmsg.LogError(NO_ERRCODE, "%s", _PATH_UTMP);
return;
}
}