From owner-freebsd-stable@freebsd.org Wed Dec 28 15:22:18 2016 Return-Path: Delivered-To: freebsd-stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A6056C94556 for ; Wed, 28 Dec 2016 15:22:18 +0000 (UTC) (envelope-from David.Boyd49@twc.com) Received: from dnvrco-oedge-vip.email.rr.com (dnvrco-outbound-snat.email.rr.com [107.14.73.226]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "dnvrco-oedge-vip.email.rr.com", Issuer "dnvrco-oedge-vip.email.rr.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 84485110C for ; Wed, 28 Dec 2016 15:22:18 +0000 (UTC) (envelope-from David.Boyd49@twc.com) Received: from [96.28.207.162] ([96.28.207.162:60468] helo=bashful.bsd1.net) by dnvrco-omsmta02 (envelope-from ) (ecelerity 3.6.9.48312 r(Core:3.6.9.0)) with ESMTP id DC/CA-16304-2F6D3685; Wed, 28 Dec 2016 15:14:58 +0000 Message-ID: <1482938097.5904.5.camel@twc.com> Subject: Regression in pciconf utility in releng/11.0 From: David Boyd To: freebsd-stable@freebsd.org Date: Wed, 28 Dec 2016 10:14:57 -0500 Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.12.11 (3.12.11-22.el7) Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-RR-Connecting-IP: 107.14.64.7:25 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Dec 2016 15:22:18 -0000 pciconf -lv em0@pci0:6:0:0: returns the following error: pciconf: cannont parse selector em0:pci0:6:0:0: This is contrary to the man page documentation which specifies that the trailing colon is optional and ignored. I have verified that this worked properly (as documented) in releng/10.3. A diff of pciconf.c between releng/11.0 and releng/10.3 show that the "parsesel" function received a major rewrite. Thanks. If I should submit a PR, just let me know.