summaryrefslogtreecommitdiff
path: root/src/utmp.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/utmp.c')
-rw-r--r--src/utmp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utmp.c b/src/utmp.c
index 20f3c3c..afa0948 100644
--- a/src/utmp.c
+++ b/src/utmp.c
@@ -268,7 +268,7 @@ InitUtmp()
if ((utmpfd = open(UtmpName, O_RDWR)) == -1)
{
if (errno != EACCES)
- Msg(errno, UtmpName);
+ Msg(errno, "%s", UtmpName);
debug("InitUtmp failed.\n");
utmpok = 0;
return;