Date: Sat, 7 Feb 2009 11:12:31 +0000 (UTC) From: "Wojciech A. Koszek" <wkoszek@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r188277 - head/usr.sbin/config Message-ID: <200902071112.n17BCVOi090160@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: wkoszek Date: Sat Feb 7 11:12:30 2009 New Revision: 188277 URL: http://svn.freebsd.org/changeset/base/188277 Log: Remove leftover of alpha support for config(8)--we have MAP_FAILED globally defined. Modified: head/usr.sbin/config/main.c Modified: head/usr.sbin/config/main.c ============================================================================== --- head/usr.sbin/config/main.c Sat Feb 7 10:29:07 2009 (r188276) +++ head/usr.sbin/config/main.c Sat Feb 7 11:12:30 2009 (r188277) @@ -565,9 +565,6 @@ moveifchanged(const char *from_name, con if (!changed) { p = mmap(NULL, tsize, PROT_READ, MAP_SHARED, from_fd, (off_t)0); -#ifndef MAP_FAILED -#define MAP_FAILED ((caddr_t) -1) -#endif if (p == MAP_FAILED) err(EX_OSERR, "mmap %s", from_name); q = mmap(NULL, tsize, PROT_READ, MAP_SHARED, to_fd, (off_t)0);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200902071112.n17BCVOi090160>