Author: dim Date: Fri Jun 1 06:56:35 2012 New Revision: 236388 URL: http://svn.freebsd.org/changeset/base/236388
Log: Make devd build with libc++. MFC after: 3 days Modified: head/sbin/devd/devd.cc Modified: head/sbin/devd/devd.cc ============================================================================== --- head/sbin/devd/devd.cc Fri Jun 1 06:55:01 2012 (r236387) +++ head/sbin/devd/devd.cc Fri Jun 1 06:56:35 2012 (r236388) @@ -807,7 +807,7 @@ create_socket(const char *name) unlink(name); if (fcntl(fd, F_SETFL, O_NONBLOCK) < 0) err(1, "fcntl"); - if (bind(fd, (struct sockaddr *) & sun, slen) < 0) + if (::bind(fd, (struct sockaddr *) & sun, slen) < 0) err(1, "bind"); listen(fd, 4); chown(name, 0, 0); /* XXX - root.wheel */ _______________________________________________ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"