summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2022-12-19 01:56:37 +0000
committercinap_lenrek <cinap_lenrek@felloff.net>2022-12-19 01:56:37 +0000
commitc10be29c773737c4159b613f4f6c3b5a90d732f6 (patch)
treee5b36631d1cba5bc87a02e60ba18455f72449357
parent120713c21634a21798576d701b6ebecf20245810 (diff)
sleep: good night.
; (0x7fffffff/1000)*1000 + 999 0x8000015f oh no! ; 0x80000000-1024 0x7ffffc00 ; (0x7ffffc00/1000)*1000 + 999 0x7ffffd77 fixed.
-rw-r--r--sys/src/cmd/sleep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/src/cmd/sleep.c b/sys/src/cmd/sleep.c
index 56f7b8bd7..32f42f612 100644
--- a/sys/src/cmd/sleep.c
+++ b/sys/src/cmd/sleep.c
@@ -4,7 +4,7 @@
void
main(int argc, char *argv[])
{
- enum { MAXSEC = 0x7fffffff/1000 };
+ enum { MAXSEC = 0x7ffffc00/1000 };
long n, m;
char *p, *q;