$NetBSD: patch-ar,v 1.3 2006/10/19 11:51:27 markd Exp $ --- source/daemons/shepherd/setrlimits.c.orig 2005-11-23 04:35:03.000000000 +1300 +++ source/daemons/shepherd/setrlimits.c @@ -437,7 +437,7 @@ static void pushlimit(int resource, stru if (rlp->rlim_max < rlp->rlim_cur) rlp->rlim_cur = rlp->rlim_max; -#if defined(NECSX4) || defined(NECSX5) +#if defined(NECSX4) || defined(NECSX5) || defined(NETBSD_ALPHA) || defined(NETBSD_X86_64) || defined(NETBSD_SPARC64) # define limit_fmt "%ld" #elif defined(IRIX) || defined(HPUX) || defined(DARWIN) || defined(FREEBSD) || defined(NETBSD) || defined(INTERIX) # define limit_fmt "%lld"