front
cinap_lenrek 2019-12-11 23:53:10 +01:00
commit 80ecdec0ec
1 changed files with 3 additions and 2 deletions

View File

@ -913,7 +913,8 @@ writebintime(char *buf, int n)
vlong delta;
long period;
n--;
if(--n <= 0)
error(Ebadtimectl);
p = (uchar*)buf + 1;
switch(*buf){
case 'n':
@ -938,7 +939,7 @@ writebintime(char *buf, int n)
todsetfreq(fasthz);
break;
}
return n;
return n+1;
}
void