don't hang old binaries

This commit is contained in:
Ben Gras 2008-12-11 14:45:49 +00:00
parent 5e1bb6eb63
commit 3287b7f7d8

View File

@ -87,7 +87,7 @@ PUBLIC int no_sys()
{ {
/* Somebody has used an illegal system call number */ /* Somebody has used an illegal system call number */
printf("VFSno_sys: call %d from %d\n", call_nr, who_e); 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) if (r != OK)
panic(__FILE__,"clock_time err", r); panic(__FILE__,"clock_time err", r);
return( (time_t) (boottime + (uptime/HZ))); return( (time_t) (boottime + (uptime/system_hz)));
} }