Date: Wed, 30 Jul 2008 19:49:38 GMT From: Gleb Kurtsou <gk@FreeBSD.org> To: Perforce Change Reviews <perforce@FreeBSD.org> Subject: PERFORCE change 146263 for review Message-ID: <200807301949.m6UJncwW012997@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=146263 Change 146263 by gk@gk_h1 on 2008/07/30 19:48:56 print that annoying 'No ALTQ support in kernel.' message only if verbose option specified use one line instead of two. Affected files ... .. //depot/projects/soc2008/gk_l2filter/sbin-pfctl/pfctl.c#2 edit Differences ... ==== //depot/projects/soc2008/gk_l2filter/sbin-pfctl/pfctl.c#2 (text+ko) ==== @@ -1902,8 +1902,8 @@ if (ioctl(dev, DIOCGETALTQS, &pa)) { if (errno == ENODEV) { - if (!(opts & PF_OPT_QUIET)) - fprintf(stderr, "No ALTQ support in kernel\n" + if (opts & PF_OPT_VERBOSE) + fprintf(stderr, "No ALTQ support in kernel. " "ALTQ related functions disabled\n"); return (0); } else
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200807301949.m6UJncwW012997>