summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--omusrmsg.c2
-rw-r--r--omusrmsg.h2
-rw-r--r--syslogd.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/omusrmsg.c b/omusrmsg.c
index 1590c689..3ac974ac 100644
--- a/omusrmsg.c
+++ b/omusrmsg.c
@@ -203,7 +203,7 @@ static void wallmsg(register selector_t *f)
/* call the shell action
* returns 0 if it succeeds, something else otherwise
*/
-int doActionUsrMsg(selector_t *f, time_t now)
+int doActionUsrMsg(selector_t *f)
{
assert(f != NULL);
diff --git a/omusrmsg.h b/omusrmsg.h
index 2c281825..fe176a57 100644
--- a/omusrmsg.h
+++ b/omusrmsg.h
@@ -26,7 +26,7 @@
/* prototypes */
-int doActionUsrMsg(selector_t *f, time_t now);
+int doActionUsrMsg(selector_t *f);
#endif /* #ifndef OMUSRMSG_H_INCLUDED */
/*
diff --git a/syslogd.c b/syslogd.c
index aaacd983..f36fb16b 100644
--- a/syslogd.c
+++ b/syslogd.c
@@ -4383,7 +4383,7 @@ void fprintlog(register selector_t *f)
case F_USERS:
case F_WALL:
f->f_time = now;
- doActionUsrMsg(f, now);
+ doActionUsrMsg(f);
break;
#ifdef WITH_DB