summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
Diffstat (limited to 'sys')
-rw-r--r--sys/kern/tty.c8
-rw-r--r--sys/kern/vfs_bio.c8
2 files changed, 8 insertions, 8 deletions
diff --git a/sys/kern/tty.c b/sys/kern/tty.c
index a40723b306a..b573cd6948d 100644
--- a/sys/kern/tty.c
+++ b/sys/kern/tty.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tty.c,v 1.9 1996/08/01 14:17:20 mickey Exp $ */
+/* $OpenBSD: tty.c,v 1.10 1996/08/29 07:46:35 deraadt Exp $ */
/* $NetBSD: tty.c,v 1.68.4.2 1996/06/06 16:04:52 thorpej Exp $ */
/*-
@@ -63,8 +63,8 @@
#include <vm/vm.h>
-#include "rnd.h"
-#if NRND
+#include "random.h"
+#if NRANDOM > 0
#include <dev/rndvar.h>
#endif
@@ -235,7 +235,7 @@ ttyinput(c, tp)
register u_char *cc;
int i, error;
-#if NRND
+#if NRANDOM > 0
add_tty_randomness(tp->t_dev, c);
#endif
/*
diff --git a/sys/kern/vfs_bio.c b/sys/kern/vfs_bio.c
index 3413619f5ac..edd97acee0f 100644
--- a/sys/kern/vfs_bio.c
+++ b/sys/kern/vfs_bio.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vfs_bio.c,v 1.10 1996/07/21 08:05:34 tholo Exp $ */
+/* $OpenBSD: vfs_bio.c,v 1.11 1996/08/29 07:46:37 deraadt Exp $ */
/* $NetBSD: vfs_bio.c,v 1.44 1996/06/11 11:15:36 pk Exp $ */
/*-
@@ -63,8 +63,8 @@
#include <vm/vm.h>
-#include "rnd.h"
-#if NRND > 0
+#include "random.h"
+#if NRANDOM > 0
#include <dev/rndvar.h>
#endif
@@ -964,7 +964,7 @@ biodone(bp)
panic("biodone already");
SET(bp->b_flags, B_DONE); /* note that it's done */
-#if NRND > 0
+#if NRANDOM > 0
add_blkdev_randomness(bp->b_dev);
#endif