mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-27 03:11:52 +01:00
Fix a typo (s/error/errno/).
This commit is contained in:
parent
a05aa38cb1
commit
4099f7e640
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=252557
@ -148,7 +148,7 @@ nd6_status(int s)
|
||||
memset(&nd, 0, sizeof(nd));
|
||||
strncpy(nd.ifname, ifr.ifr_name, sizeof(nd.ifname));
|
||||
if ((s6 = socket(AF_INET6, SOCK_DGRAM, 0)) < 0) {
|
||||
if (errno != EAFNOSUPPORT && error != EPROTONOSUPPORT)
|
||||
if (errno != EAFNOSUPPORT && errno != EPROTONOSUPPORT)
|
||||
warn("socket(AF_INET6, SOCK_DGRAM)");
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user