Re: rndcontrol doesn't work on -STABLE?

From: Mark Andrews (Mark_Andrews_at_isc.org)
Date: 02/23/04

  • Next message: Gregory Neil Shapiro: "Re: rndcontrol doesn't work on -STABLE?"
    To: Gregory Neil Shapiro <gshapiro@freebsd.org>
    Date: Mon, 23 Feb 2004 12:27:21 +1100
    
    

    > 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
    _______________________________________________
    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"
    

  • Next message: Gregory Neil Shapiro: "Re: rndcontrol doesn't work on -STABLE?"

    Relevant Pages