From d44f401738ed7eea729b29ca4d1420285c10cc7f Mon Sep 17 00:00:00 2001 From: Mark Murray Date: Wed, 28 Jun 2000 18:51:15 +0000 Subject: Staticize a variable. This fixes the case where linking randomdev into the kernel statically can cause panics at shutdown time. Reported by: sos --- sys/dev/randomdev/randomdev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/dev/randomdev') diff --git a/sys/dev/randomdev/randomdev.c b/sys/dev/randomdev/randomdev.c index 9e0a91878d668..2ef9e9dabe3d9 100644 --- a/sys/dev/randomdev/randomdev.c +++ b/sys/dev/randomdev/randomdev.c @@ -74,7 +74,7 @@ static struct cdevsw random_cdevsw = { static dev_t randomdev; static dev_t urandomdev; -void *buf; +static void *buf; extern void randominit(void); -- cgit v1.3