Coda File System

Re: codasrv crash on netbsd/sparc64 3.0

From: Greg Troxel <>
Date: Tue, 25 Apr 2006 16:38:02 -0400
NetBSD says to use MAP_FAILED, and to include sys/mman.h, which

#define	MAP_FAILED	((void *) -1)	/* mmap() failed */

Since Sean is running 32-bit user/kernel, there should be no 64-bit
integer or pointer types - it's ILP32, just like regular sparc.

The value is stored in a void *, so that should be ok.

        Greg Troxel <>
Received on 2006-04-25 16:40:35