1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-01 08:27:59 +00:00

Fixed a misspelling of 0 as NULL.

This commit is contained in:
Bruce Evans 2004-03-10 08:46:39 +00:00
parent 4f81134a23
commit c88f8102e3
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=126797
2 changed files with 2 additions and 2 deletions

View File

@ -707,7 +707,7 @@ ifconfig(int argc, char *const *argv, const struct afswtch *afp)
if (afp->af_ridreq == NULL || afp->af_difaddr == 0) {
warnx("interface %s cannot change %s addresses!",
name, afp->af_name);
clearaddr = NULL;
clearaddr = 0;
}
}
if (clearaddr) {

View File

@ -244,7 +244,7 @@ do_pco(struct icmp6_router_renum *rr, int len, struct rr_pco_match *rpm)
int ifindex = 0;
struct in6_rrenumreq irr;
if ((rr_pco_check(len, rpm) != NULL))
if ((rr_pco_check(len, rpm) != 0))
return 1;
if (s == -1 && (s = socket(AF_INET6, SOCK_DGRAM, 0)) < 0) {