Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Feb 2004 12:27:21 +1100
From:      Mark Andrews <Mark_Andrews@isc.org>
To:        Gregory Neil Shapiro <gshapiro@freebsd.org>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: rndcontrol doesn't work on -STABLE? 
Message-ID:  <200402230127.i1N1RL3S007766@drugs.dv.isc.org>
In-Reply-To: Your message of "Sun, 22 Feb 2004 17:14:55 -0800." <20040223011455.GN62095@horsey.gshapiro.net> 

next in thread | previous in thread | raw e-mail | index | archive | help

> Index: usr.sbin/rndcontrol/rndcontrol.c
> ===================================================================
> RCS file: /home/ncvs/src/usr.sbin/rndcontrol/Attic/rndcontrol.c,v
> retrieving revision 1.11.2.1
> diff -u -r1.11.2.1 rndcontrol.c
> --- usr.sbin/rndcontrol/rndcontrol.c	10 May 2000 02:04:44 -0000	1.11.2.
> 1
> +++ usr.sbin/rndcontrol/rndcontrol.c	23 Feb 2004 01:03:45 -0000
> @@ -95,7 +95,7 @@
>  				return (1);
>  			}
>  			printf("%s: interrupts in use:", argv[0]);
> -			for (i = 0; i < 16; i++)
> +			for (i = 0; i < 24; i++)
>  				if (irq & (1 << i))
>  					printf(" %d", i);
>  			printf("\n");

	This is broken.  'irq' is u_int16_t.

> _______________________________________________
> freebsd-stable@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"
--
Mark Andrews, ISC
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742                 INTERNET: Mark_Andrews@isc.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200402230127.i1N1RL3S007766>