pm, vfs: don't print something for bogus calls
This commit is contained in:
parent
97c7d358ea
commit
a9d15dd3e4
3 changed files with 0 additions and 4 deletions
|
@ -65,7 +65,6 @@ PUBLIC pid_t get_free_pid()
|
||||||
PUBLIC int no_sys()
|
PUBLIC int no_sys()
|
||||||
{
|
{
|
||||||
/* A system call number not implemented by PM has been requested. */
|
/* 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);
|
return(ENOSYS);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -171,8 +171,6 @@ PUBLIC int main(void)
|
||||||
if (call_nr < 0 || call_nr >= NCALLS) {
|
if (call_nr < 0 || call_nr >= NCALLS) {
|
||||||
error = ENOSYS;
|
error = ENOSYS;
|
||||||
/* Not supposed to happen. */
|
/* Not supposed to happen. */
|
||||||
printf("VFS: illegal %d system call by %d\n",
|
|
||||||
call_nr, who_e);
|
|
||||||
} else if (fp->fp_pid == PID_FREE) {
|
} else if (fp->fp_pid == PID_FREE) {
|
||||||
error = ENOSYS;
|
error = ENOSYS;
|
||||||
printf(
|
printf(
|
||||||
|
|
|
@ -79,7 +79,6 @@ int flag; /* M3 means path may be in message */
|
||||||
PUBLIC int no_sys()
|
PUBLIC int no_sys()
|
||||||
{
|
{
|
||||||
/* Somebody has used an illegal system call number */
|
/* 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);
|
return(ENOSYS);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue