pm, vfs: don't print something for bogus calls

This commit is contained in:
Ben Gras 2011-07-04 16:18:14 +02:00
parent 97c7d358ea
commit a9d15dd3e4
3 changed files with 0 additions and 4 deletions

View file

@ -65,7 +65,6 @@ PUBLIC pid_t get_free_pid()
PUBLIC int no_sys()
{
/* A system call number not implemented by PM has been requested. */
printf("PM: in no_sys, call nr %d from %d\n", call_nr, who_e);
return(ENOSYS);
}

View file

@ -171,8 +171,6 @@ PUBLIC int main(void)
if (call_nr < 0 || call_nr >= NCALLS) {
error = ENOSYS;
/* Not supposed to happen. */
printf("VFS: illegal %d system call by %d\n",
call_nr, who_e);
} else if (fp->fp_pid == PID_FREE) {
error = ENOSYS;
printf(

View file

@ -79,7 +79,6 @@ int flag; /* M3 means path may be in message */
PUBLIC int no_sys()
{
/* Somebody has used an illegal system call number */
printf("VFS no_sys: call %d from %d (pid %d)\n", call_nr, who_e, who_p);
return(ENOSYS);
}