vfs: don't SUSPEND for unknown calls
. returning ENOSYS helps for implementing new calls with forwards compatability
This commit is contained in:
parent
03ff167d4d
commit
86a226680b
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue