summaryrefslogtreecommitdiff
path: root/sbin/ipsecctl/parse.y
diff options
context:
space:
mode:
Diffstat (limited to 'sbin/ipsecctl/parse.y')
-rw-r--r--sbin/ipsecctl/parse.y6
1 files changed, 3 insertions, 3 deletions
diff --git a/sbin/ipsecctl/parse.y b/sbin/ipsecctl/parse.y
index 1e8d432a71b..ab50af0c66c 100644
--- a/sbin/ipsecctl/parse.y
+++ b/sbin/ipsecctl/parse.y
@@ -1,4 +1,4 @@
-/* $OpenBSD: parse.y,v 1.151 2011/07/06 22:03:00 deraadt Exp $ */
+/* $OpenBSD: parse.y,v 1.152 2011/12/20 13:27:51 mikeb Exp $ */
/*
* Copyright (c) 2002, 2003, 2004 Henning Brauer <henning@openbsd.org>
@@ -1428,11 +1428,11 @@ atospi(char *s, u_int32_t *spivalp)
if (atoul(s, &ulval) == -1)
return (-1);
if (ulval > UINT_MAX) {
- yyerror("%lld not a valid spi", ulval);
+ yyerror("%lu not a valid spi", ulval);
return (-1);
}
if (ulval >= SPI_RESERVED_MIN && ulval <= SPI_RESERVED_MAX) {
- yyerror("%lld within reserved spi range", ulval);
+ yyerror("%lu within reserved spi range", ulval);
return (-1);
}
*spivalp = ulval;