$OpenBSD: patch-tools_checkstack_c,v 1.2 2006/05/28 15:28:54 avsm Exp $
--- tools/checkstack.c.orig	Mon Jan 23 17:36:47 2006
+++ tools/checkstack.c	Tue May  2 11:34:56 2006
@@ -35,7 +35,8 @@ int main(int argc, char ** argv)
              "Under sh, bash, zsh:  ulimit -s %lu\n"
              "Under csh, tcsh:      limit stacksize %lu\n\n",
              (unsigned long) (limit.rlim_cur / 1024),
-             MINSTACKBYTES / 1024, MINSTACKBYTES / 1024);
+             (unsigned long) (MINSTACKBYTES / 1024),
+             (unsigned long) (MINSTACKBYTES / 1024));
     exit (3);
   }
   exit (0);
