summaryrefslogtreecommitdiffstats
path: root/omusrmsg.c
diff options
context:
space:
mode:
Diffstat (limited to 'omusrmsg.c')
-rw-r--r--omusrmsg.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/omusrmsg.c b/omusrmsg.c
index 96b18375..7d5c705e 100644
--- a/omusrmsg.c
+++ b/omusrmsg.c
@@ -147,7 +147,7 @@ void endutent(void)
* Adjust the size of a variable to prevent a buffer overflow
* should _PATH_DEV ever contain something different than "/dev/".
*/
-static void wallmsg(selector_t *f, uchar* pMsg, instanceData *pData)
+static void wallmsg(uchar* pMsg, instanceData *pData)
{
char p[sizeof(_PATH_DEV) + UNAMESZ];
@@ -157,7 +157,6 @@ static void wallmsg(selector_t *f, uchar* pMsg, instanceData *pData)
struct utmp ut;
struct utmp *uptr;
- assert(f != NULL);
assert(pMsg != NULL);
if (reenter++)
@@ -247,7 +246,7 @@ BEGINdoAction
CODESTARTdoAction
dprintf("\n");
/* TODO: change wallmsg so that it returns iRet */
- wallmsg(f, ppString[0], pData);
+ wallmsg(ppString[0], pData);
ENDdoAction