From: Ben Gras Date: Sat, 22 Oct 2005 01:10:45 +0000 (+0000) Subject: *** empty log message *** X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/zlib_tech.html?a=commitdiff_plain;h=2823b3de0e6a533a9b9ddf416852d27cf20533de;p=minix.git *** empty log message *** --- diff --git a/servers/fs/main.c b/servers/fs/main.c index 3bdd7ebfe..24a01374b 100644 --- a/servers/fs/main.c +++ b/servers/fs/main.c @@ -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 } /*===========================================================================*