minix/kernel/system/do_unused.c
2005-08-05 09:41:15 +00:00

20 lines
670 B
C

/* This file provides a catch-all handler for unused system calls. A system
* call may be unused when it is not defined or when it is disabled in the
* kernel's configuration.
*
* Changes:
* Oct 10, 2004 created (Jorrit N. Herder)
*/
#include "../system.h"
/*===========================================================================*
* do_unused *
*===========================================================================*/
PUBLIC int do_unused(m)
message *m; /* pointer to request message */
{
kprintf("SYSTEM: got unused request %d from %d", m->m_type, m->m_source);
return(EBADREQUEST); /* illegal message type */
}