From owner-freebsd-stable@FreeBSD.ORG Sun Feb 22 17:27:24 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A711516A4CF; Sun, 22 Feb 2004 17:27:24 -0800 (PST) Received: from farside.isc.org (farside.isc.org [204.152.187.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id A1B7643D1D; Sun, 22 Feb 2004 17:27:24 -0800 (PST) (envelope-from Mark_Andrews@isc.org) Received: from drugs.dv.isc.org (localhost [IPv6:::1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by farside.isc.org (Postfix) with ESMTP id 03865A82B; Mon, 23 Feb 2004 01:27:24 +0000 (UTC) (envelope-from marka@isc.org) Received: from drugs.dv.isc.org (localhost [127.0.0.1]) by drugs.dv.isc.org (8.12.10/8.12.10) with ESMTP id i1N1RL3S007766; Mon, 23 Feb 2004 12:27:21 +1100 (EST) (envelope-from marka@drugs.dv.isc.org) Message-Id: <200402230127.i1N1RL3S007766@drugs.dv.isc.org> To: Gregory Neil Shapiro From: Mark Andrews In-reply-to: Your message of "Sun, 22 Feb 2004 17:14:55 -0800." <20040223011455.GN62095@horsey.gshapiro.net> Date: Mon, 23 Feb 2004 12:27:21 +1100 Sender: Mark_Andrews@isc.org cc: freebsd-stable@freebsd.org Subject: Re: rndcontrol doesn't work on -STABLE? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Feb 2004 01:27:24 -0000 > 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