]> Zhao Yanbai Git Server - minix.git/commitdiff
*** empty log message ***
authorBen Gras <ben@minix3.org>
Sat, 22 Oct 2005 01:10:45 +0000 (01:10 +0000)
committerBen Gras <ben@minix3.org>
Sat, 22 Oct 2005 01:10:45 +0000 (01:10 +0000)
servers/fs/main.c

index 3bdd7ebfe4204570430cee0a673c965316445454..24a01374bdab2941a16e673db293300ca3a4e828 100644 (file)
@@ -78,8 +78,10 @@ PUBLIC int main()
                        printf("FS, warning illegal %d system call by %d\n", call_nr, who);
                } else if (fp->fp_pid == PID_FREE) {
                        error = ENOSYS;
+#if FS_VERBOSE
                        printf("FS, bad process, who = %d, call_nr = %d, slot1 = %d\n",
                                 who, call_nr, m_in.slot1);
+#endif
                } else {
                        error = (*call_vec[call_nr])();
                }
@@ -168,7 +170,9 @@ int result;                 /* result of the call (usually OK or error #) */
   int s;
   m_out.reply_type = result;
   s = send(whom, &m_out);
+#if FS_VERBOSE
   if (s != OK) printf("FS: couldn't send reply %d: %d\n", result, s);
+#endif
 }
 
 /*===========================================================================*