diff options
author | Artur Grabowski <art@cvs.openbsd.org> | 2000-07-17 05:45:35 +0000 |
---|---|---|
committer | Artur Grabowski <art@cvs.openbsd.org> | 2000-07-17 05:45:35 +0000 |
commit | ff4221af81b86982e24c3d77969ad59e0ec5c4ad (patch) | |
tree | bdc18fef72b961372853a9842bce3b205486cdcf /sys/compat/linux/linux_misc.c | |
parent | ebc2f56ae53ded559e95f9c4d7e440694c666866 (diff) |
Oops.
Diffstat (limited to 'sys/compat/linux/linux_misc.c')
-rw-r--r-- | sys/compat/linux/linux_misc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/compat/linux/linux_misc.c b/sys/compat/linux/linux_misc.c index 8d9dad211a8..d279dc10e26 100644 --- a/sys/compat/linux/linux_misc.c +++ b/sys/compat/linux/linux_misc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: linux_misc.c,v 1.29 2000/07/17 05:43:10 art Exp $ */ +/* $OpenBSD: linux_misc.c,v 1.30 2000/07/17 05:45:34 art Exp $ */ /* $NetBSD: linux_misc.c,v 1.27 1996/05/20 01:59:21 fvdl Exp $ */ /* @@ -827,7 +827,7 @@ linux_sys_alarm(p, v, retval) if (timerisset(&it.it_value)) { timo = hzto(&it.it_value); - if (timo < 0) + if (timo <= 0) timo = 1; timeradd(&it.it_value, &time, &it.it_value); timeout_add(&p->p_realit_to, timo); |