From owner-svn-src-head@FreeBSD.ORG Sat Feb 7 11:12:31 2009 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4DE44106566B; Sat, 7 Feb 2009 11:12:31 +0000 (UTC) (envelope-from wkoszek@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 3BB6E8FC16; Sat, 7 Feb 2009 11:12:31 +0000 (UTC) (envelope-from wkoszek@FreeBSD.org) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id n17BCVNe090161; Sat, 7 Feb 2009 11:12:31 GMT (envelope-from wkoszek@svn.freebsd.org) Received: (from wkoszek@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id n17BCVOi090160; Sat, 7 Feb 2009 11:12:31 GMT (envelope-from wkoszek@svn.freebsd.org) Message-Id: <200902071112.n17BCVOi090160@svn.freebsd.org> From: "Wojciech A. Koszek" Date: Sat, 7 Feb 2009 11:12:31 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r188277 - head/usr.sbin/config X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Feb 2009 11:12:31 -0000 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);