Skip to content

Commit

Permalink
Add missing parenthesis on error message
Browse files Browse the repository at this point in the history
Approved by:	loos
MFC after:	3 days
Sponsored by:	Rubicon Communications, LLC (Netgate)
  • Loading branch information
rbgarga committed Aug 8, 2017
1 parent 7f3ad01 commit af71799
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sbin/ifconfig/ifconfig.c
Original file line number Diff line number Diff line change
Expand Up @@ -760,7 +760,7 @@ ifconfig(int argc, char *const *argv, int iscreate, const struct afswtch *uafp)
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);
Expand Down

0 comments on commit af71799

Please sign in to comment.