From: Ben Gras Date: Sat, 2 Jul 2011 15:15:20 +0000 (+0200) Subject: vfs: don't SUSPEND for unknown calls X-Git-Tag: v3.2.0~500 X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/man.rndc-confgen.html?a=commitdiff_plain;h=86a226680bf3adff9a7aa2b00e320afc1a3312f4;p=minix.git vfs: don't SUSPEND for unknown calls . returning ENOSYS helps for implementing new calls with forwards compatability --- diff --git a/servers/vfs/main.c b/servers/vfs/main.c index 5ee8ec302..789b19563 100644 --- a/servers/vfs/main.c +++ b/servers/vfs/main.c @@ -169,7 +169,7 @@ PUBLIC int main(void) default: /* Call the internal function that does the work. */ if (call_nr < 0 || call_nr >= NCALLS) { - error = SUSPEND; + error = ENOSYS; /* Not supposed to happen. */ printf("VFS: illegal %d system call by %d\n", call_nr, who_e);