svn commit: r322281 - head/sbin/ifconfig
Renato Botelho
garga at FreeBSD.org
Tue Aug 8 22:40:27 UTC 2017
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);
More information about the svn-src-head
mailing list