Date: Thu, 22 Mar 2018 10:57:51 +0000 (UTC) From: Renato Botelho <garga@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org Subject: svn commit: r331349 - stable/11/sbin/ifconfig Message-ID: <201803221057.w2MAvpKt007678@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: garga (ports committer) Date: Thu Mar 22 10:57:51 2018 New Revision: 331349 URL: https://svnweb.freebsd.org/changeset/base/331349 Log: MFC r322281: Add missing parenthesis on error message Approved by: loos Sponsored by: Rubicon Communications, LLC (Netgate) Modified: stable/11/sbin/ifconfig/ifconfig.c Directory Properties: stable/11/ (props changed) Modified: stable/11/sbin/ifconfig/ifconfig.c ============================================================================== --- stable/11/sbin/ifconfig/ifconfig.c Thu Mar 22 09:43:15 2018 (r331348) +++ stable/11/sbin/ifconfig/ifconfig.c Thu Mar 22 10:57:51 2018 (r331349) @@ -762,7 +762,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?201803221057.w2MAvpKt007678>