source: trunk/minix/kernel/system/do_unused.c@ 9

Last change on this file since 9 was 9, checked in by Mattia Monga, 13 years ago

Minix 3.1.2a

File size: 606 bytes
Line 
1/* This file provides a catch-all handler for unused kernel calls. A kernel
2 * call may be unused when it is not defined or when it is disabled in the
3 * kernel's configuration.
4 */
5#include "../system.h"
6
7/*===========================================================================*
8 * do_unused *
9 *===========================================================================*/
10PUBLIC int do_unused(m)
11message *m; /* pointer to request message */
12{
13 kprintf("SYSTEM: got unused request %d from %d", m->m_type, m->m_source);
14 return(EBADREQUEST); /* illegal message type */
15}
16
Note: See TracBrowser for help on using the repository browser.