]> Zhao Yanbai Git Server - minix.git/commitdiff
pm, vfs: don't print something for bogus calls
authorBen Gras <ben@minix3.org>
Mon, 4 Jul 2011 14:18:14 +0000 (16:18 +0200)
committerBen Gras <ben@minix3.org>
Tue, 5 Jul 2011 11:21:48 +0000 (13:21 +0200)
servers/pm/utility.c
servers/vfs/main.c
servers/vfs/utility.c

index b76ab396cc4d1365c0980295fabd41150fdebd72..003885363977b91f1ca2f0371953d363ee8f0103 100644 (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);
 }
 
index 789b1956362a02dd721091ad476aa37134f89d11..79a3d57732d6a7865d415e0093306301ad33b25c 100644 (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(
index 0c99b8ef03bfefef2b38b7d8274edc4755946675..eb91d011ec5fbd92a2d40a0be1740b4ba15c0a5b 100644 (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);
 }