From 3287b7f7d873977e39b919bd260047f0f109221d Mon Sep 17 00:00:00 2001 From: Ben Gras Date: Thu, 11 Dec 2008 14:45:49 +0000 Subject: [PATCH] don't hang old binaries --- servers/vfs/utility.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/servers/vfs/utility.c b/servers/vfs/utility.c index 43fbba8b8..b79ed73dc 100644 --- a/servers/vfs/utility.c +++ b/servers/vfs/utility.c @@ -87,7 +87,7 @@ PUBLIC int no_sys() { /* Somebody has used an illegal system call number */ printf("VFSno_sys: call %d from %d\n", call_nr, who_e); - return(SUSPEND); + return(ENOSYS); } /*===========================================================================* @@ -143,6 +143,6 @@ PUBLIC time_t clock_time() if (r != OK) panic(__FILE__,"clock_time err", r); - return( (time_t) (boottime + (uptime/HZ))); + return( (time_t) (boottime + (uptime/system_hz))); }