diff options
author | garga <garga@FreeBSD.org> | 2018-03-22 10:57:51 +0000 |
---|---|---|
committer | garga <garga@FreeBSD.org> | 2018-03-22 10:57:51 +0000 |
commit | accdb4fdc20c5d84f4f79335e6e4402608166d53 (patch) | |
tree | ee917869de0aeefb50da42459cee40d1c151cf7c /sbin | |
parent | d59e805ad082b1430a2e6c2f1367daf8ae6e07dc (diff) | |
download | FreeBSD-src-accdb4fdc20c5d84f4f79335e6e4402608166d53.zip FreeBSD-src-accdb4fdc20c5d84f4f79335e6e4402608166d53.tar.gz |
MFC r322281:
Add missing parenthesis on error message
Approved by: loos
Sponsored by: Rubicon Communications, LLC (Netgate)
Diffstat (limited to 'sbin')
-rw-r--r-- | sbin/ifconfig/ifconfig.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/ifconfig/ifconfig.c b/sbin/ifconfig/ifconfig.c index bddbda5..1837d96 100644 --- a/sbin/ifconfig/ifconfig.c +++ b/sbin/ifconfig/ifconfig.c @@ -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); |