Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Aug 2017 22:40:26 +0000 (UTC)
From:      Renato Botelho <garga@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r322281 - head/sbin/ifconfig
Message-ID:  <201708082240.v78MeQ8f048258@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201708082240.v78MeQ8f048258>