Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev make this build with RND_DEBUG
details: https://anonhg.NetBSD.org/src/rev/721f6074335a
branches: trunk
changeset: 772116:721f6074335a
user: drochner <drochner%NetBSD.org@localhost>
date: Mon Dec 19 11:10:08 2011 +0000
description:
make this build with RND_DEBUG
diffstat:
sys/dev/rndpseudo.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (36 lines):
diff -r c11071faa03a -r 721f6074335a sys/dev/rndpseudo.c
--- a/sys/dev/rndpseudo.c Mon Dec 19 10:56:59 2011 +0000
+++ b/sys/dev/rndpseudo.c Mon Dec 19 11:10:08 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rndpseudo.c,v 1.1 2011/12/17 20:05:39 tls Exp $ */
+/* $NetBSD: rndpseudo.c,v 1.2 2011/12/19 11:10:08 drochner Exp $ */
/*-
* Copyright (c) 1997-2011 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rndpseudo.c,v 1.1 2011/12/17 20:05:39 tls Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rndpseudo.c,v 1.2 2011/12/19 11:10:08 drochner Exp $");
#include <sys/param.h>
#include <sys/ioctl.h>
@@ -61,7 +61,7 @@
#ifdef RND_DEBUG
#define DPRINTF(l,x) if (rnd_debug & (l)) printf x
-int rnd_debug = 0;
+extern int rnd_debug;
#else
#define DPRINTF(l,x)
#endif
@@ -249,7 +249,7 @@
DPRINTF(RND_DEBUG_READ,
("Random: Read of %zu requested, flags 0x%08x\n",
- uio->uio_resid, ioflag));
+ uio->uio_resid, flags));
if (uio->uio_resid == 0)
return (0);
Home |
Main Index |
Thread Index |
Old Index