don't hang old binaries
This commit is contained in:
parent
5e1bb6eb63
commit
3287b7f7d8
1 changed files with 2 additions and 2 deletions
|
@ -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)));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue