From 86a226680bf3adff9a7aa2b00e320afc1a3312f4 Mon Sep 17 00:00:00 2001 From: Ben Gras Date: Sat, 2 Jul 2011 17:15:20 +0200 Subject: [PATCH] vfs: don't SUSPEND for unknown calls . returning ENOSYS helps for implementing new calls with forwards compatability --- servers/vfs/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);