Date: Fri, 1 Jun 2012 06:56:35 +0000 (UTC) From: Dimitry Andric <dim@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r236388 - head/sbin/devd Message-ID: <201206010656.q516uZ1V093473@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201206010656.q516uZ1V093473>