Author: hrs
Date: Wed Jul  3 09:50:59 2013
New Revision: 252557
URL: http://svnweb.freebsd.org/changeset/base/252557

Log:
  Fix a typo (s/error/errno/).

Modified:
  head/sbin/ifconfig/af_nd6.c

Modified: head/sbin/ifconfig/af_nd6.c
==============================================================================
--- head/sbin/ifconfig/af_nd6.c Wed Jul  3 09:48:24 2013        (r252556)
+++ head/sbin/ifconfig/af_nd6.c Wed Jul  3 09:50:59 2013        (r252557)
@@ -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;
        }
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to