From: Ben Gras Date: Mon, 4 Jul 2011 14:18:14 +0000 (+0200) Subject: pm, vfs: don't print something for bogus calls X-Git-Tag: v3.2.0~493 X-Git-Url: http://zhaoyanbai.com/repos/?a=commitdiff_plain;h=a9d15dd3e45f83e3b318ad06631456584933892b;p=minix.git pm, vfs: don't print something for bogus calls --- diff --git a/servers/pm/utility.c b/servers/pm/utility.c index b76ab396c..003885363 100644 --- a/servers/pm/utility.c +++ b/servers/pm/utility.c @@ -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); } diff --git a/servers/vfs/main.c b/servers/vfs/main.c index 789b19563..79a3d5773 100644 --- a/servers/vfs/main.c +++ b/servers/vfs/main.c @@ -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( diff --git a/servers/vfs/utility.c b/servers/vfs/utility.c index 0c99b8ef0..eb91d011e 100644 --- a/servers/vfs/utility.c +++ b/servers/vfs/utility.c @@ -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); }