diff options
Diffstat (limited to 'sysutils/lastfss/patches/patch-lastfss.c')
-rw-r--r-- | sysutils/lastfss/patches/patch-lastfss.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/sysutils/lastfss/patches/patch-lastfss.c b/sysutils/lastfss/patches/patch-lastfss.c new file mode 100644 index 00000000000..37e0f0f032e --- /dev/null +++ b/sysutils/lastfss/patches/patch-lastfss.c @@ -0,0 +1,15 @@ +$NetBSD: patch-lastfss.c,v 1.1 2015/03/18 15:04:17 joerg Exp $ + +--- lastfss.c.orig 2015-03-17 22:25:25.000000000 +0000 ++++ lastfss.c +@@ -54,8 +54,8 @@ char atexit_msg[MAXPATHLEN] = { 0 }; + void + atexit_func(void) + { +- if (*atexit_msg != '\0'); +- syslog(LOG_INFO, atexit_msg); ++ if (*atexit_msg != '\0') ++ syslog(LOG_INFO, "%s", atexit_msg); + return; + } + |