Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-5]: src/sys/compat/hpux Pull up rev. 1.51:



details:   https://anonhg.NetBSD.org/src/rev/e334d41b779c
branches:  netbsd-1-5
changeset: 488496:e334d41b779c
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Thu Jul 13 20:15:12 2000 +0000

description:
Pull up rev. 1.51:
Add a comment about the hzto() return value.

diffstat:

 sys/compat/hpux/hpux_compat.c |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (20 lines):

diff -r 5cbf79eb81e4 -r e334d41b779c sys/compat/hpux/hpux_compat.c
--- a/sys/compat/hpux/hpux_compat.c     Thu Jul 13 20:12:18 2000 +0000
+++ b/sys/compat/hpux/hpux_compat.c     Thu Jul 13 20:15:12 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: hpux_compat.c,v 1.49 2000/05/27 00:40:44 sommerfeld Exp $      */
+/*     $NetBSD: hpux_compat.c,v 1.49.4.1 2000/07/13 20:15:12 thorpej Exp $     */
 
 /*
  * Copyright (c) 1988 University of Utah.
@@ -1219,6 +1219,10 @@
        }
        p->p_realtimer.it_value = time;
        p->p_realtimer.it_value.tv_sec += SCARG(uap, deltat);
+       /*
+        * We don't need to check the hzto() return value, here.
+        * callout_reset() does it for us.
+        */
        callout_reset(&p->p_realit_ch, hzto(&p->p_realtimer.it_value),
            realitexpire, p);
        splx(s);



Home | Main Index | Thread Index | Old Index