oops
authormickey <mickey@openbsd.org>
Fri, 21 Apr 2000 22:48:52 +0000 (22:48 +0000)
committermickey <mickey@openbsd.org>
Fri, 21 Apr 2000 22:48:52 +0000 (22:48 +0000)
sys/arch/i386/pci/pchb.c

index 6aedd48..e520c56 100644 (file)
@@ -1,4 +1,4 @@
-/*     $OpenBSD: pchb.c,v 1.7 2000/04/10 20:07:47 mickey Exp $ */
+/*     $OpenBSD: pchb.c,v 1.8 2000/04/21 22:48:52 mickey Exp $ */
 /*     $NetBSD: pchb.c,v 1.6 1997/06/06 23:29:16 thorpej Exp $ */
 
 /*
@@ -277,7 +277,7 @@ pchb_rnd(v)
                        sc->ax = (sc->ax << 8) + ret;
                else {
                        sc->i = 4;
-                       add_true_randomness(ret);
+                       add_true_randomness(sc->ax);
                }
        }
        timeout_add(&sc->sc_tmo, 1);