From owner-svn-src-head@freebsd.org Tue Aug 8 22:40:27 2017 Return-Path: Delivered-To: svn-src-head@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 A0FCDDD50A9; Tue, 8 Aug 2017 22:40:27 +0000 (UTC) (envelope-from garga@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 6DB8976DFE; Tue, 8 Aug 2017 22:40:27 +0000 (UTC) (envelope-from garga@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v78MeQW4048259; Tue, 8 Aug 2017 22:40:26 GMT (envelope-from garga@FreeBSD.org) Received: (from garga@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v78MeQ8f048258; Tue, 8 Aug 2017 22:40:26 GMT (envelope-from garga@FreeBSD.org) Message-Id: <201708082240.v78MeQ8f048258@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: garga set sender to garga@FreeBSD.org using -f From: Renato Botelho Date: Tue, 8 Aug 2017 22:40:26 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r322281 - head/sbin/ifconfig X-SVN-Group: head X-SVN-Commit-Author: garga X-SVN-Commit-Paths: head/sbin/ifconfig X-SVN-Commit-Revision: 322281 X-SVN-Commit-Repository: base MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Aug 2017 22:40:27 -0000 Author: garga (ports committer) Date: Tue Aug 8 22:40:26 2017 New Revision: 322281 URL: https://svnweb.freebsd.org/changeset/base/322281 Log: Add missing parenthesis on error message Approved by: loos MFC after: 3 days Sponsored by: Rubicon Communications, LLC (Netgate) Modified: head/sbin/ifconfig/ifconfig.c Modified: head/sbin/ifconfig/ifconfig.c ============================================================================== --- head/sbin/ifconfig/ifconfig.c Tue Aug 8 21:09:26 2017 (r322280) +++ head/sbin/ifconfig/ifconfig.c Tue Aug 8 22:40:26 2017 (r322281) @@ -760,7 +760,7 @@ top: if ((s = socket(ifr.ifr_addr.sa_family, SOCK_DGRAM, 0)) < 0 && (uafp != NULL || errno != EAFNOSUPPORT || (s = socket(AF_LOCAL, SOCK_DGRAM, 0)) < 0)) - err(1, "socket(family %u,SOCK_DGRAM", ifr.ifr_addr.sa_family); + err(1, "socket(family %u,SOCK_DGRAM)", ifr.ifr_addr.sa_family); while (argc > 0) { p = cmd_lookup(*argv, iscreate);