summaryrefslogtreecommitdiff
path: root/src/utmp.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/utmp.c')
-rw-r--r--src/utmp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/utmp.c b/src/utmp.c
index 3214df6..afa0948 100644
--- a/src/utmp.c
+++ b/src/utmp.c
@@ -1,4 +1,4 @@
-/* Copyright (c) 2008
+/* Copyright (c) 2008, 2009
* Juergen Weigert (jnweiger@immd4.informatik.uni-erlangen.de)
* Michael Schroeder (mlschroe@immd4.informatik.uni-erlangen.de)
* Micah Cowan (micah@cowan.name)
@@ -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;