On Mon, Dec 11, 2006 at 09:58:08PM +0100, Max Laier wrote:

> @@ -67,10 +67,8 @@
>  
>       /* first, find out how many queues there are */
>       memset(&pa, 0, sizeof(pa));
> -     if (ioctl(fd, DIOCGETALTQS, &pa)) {
> -             fprintf(stderr, "ioctl: DIOCGETALTQS: %s\n", strerror(errno));
> -             return (1);
> -     }
> +     if (ioctl(fd, DIOCGETALTQS, &pa))
> +             return (0);
>       mnr = pa.nr;
>  
>       /* fetch each of those queues */

Fine with me. I'll include it in the next dist tarball, if you want to
put that in the ports patch for the meantime, that would be great ;)

Daniel
_______________________________________________
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to