diff options
-rw-r--r-- | usr.bin/vgrind/vfontedpr.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/vgrind/vfontedpr.c b/usr.bin/vgrind/vfontedpr.c index e78ebe949ea..fb8ff10a531 100644 --- a/usr.bin/vgrind/vfontedpr.c +++ b/usr.bin/vgrind/vfontedpr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: vfontedpr.c,v 1.10 2006/03/22 19:38:45 deraadt Exp $ */ +/* $OpenBSD: vfontedpr.c,v 1.11 2006/03/23 02:17:38 ray Exp $ */ /* $NetBSD: vfontedpr.c,v 1.7 1998/12/19 23:41:53 christos Exp $ */ /* @@ -40,7 +40,7 @@ static char copyright[] = #if 0 static char sccsid[] = "@(#)vfontedpr.c 8.1 (Berkeley) 6/6/93"; #endif -static char rcsid[] = "$OpenBSD: vfontedpr.c,v 1.10 2006/03/22 19:38:45 deraadt Exp $"; +static char rcsid[] = "$OpenBSD: vfontedpr.c,v 1.11 2006/03/23 02:17:38 ray Exp $"; #endif /* not lint */ #include <sys/types.h> @@ -188,7 +188,7 @@ main(int argc, char *argv[]) if (!strncmp(argv[0], "-s", 2)) { const char *errstr; - i = (int)strtonum(argv[0] + 2, 0, UINT_MAX, &errstr); + i = (int)strtonum(argv[0] + 2, 0, INT_MAX, &errstr); if (errstr) perror(argv[0]); printf("'ps %d\n'vs %d\n", i, i+1); |