On Mon, Mar 22, 2010 at 05:47:59PM +1100, Anton Blanchard wrote: > The patch below changes second from an int to an unsigned long which fixes > shmget on ppc64 (and I assume s390, sparc64 and mips64). Looks good, except that the prototype in the header also needs to be adjusted.