diff options
Diffstat (limited to 'omusrmsg.c')
-rw-r--r-- | omusrmsg.c | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -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 |