summaryrefslogtreecommitdiffstats
path: root/omusrmsg.c
diff options
context:
space:
mode:
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;
}
}