diff options
author | Mike Belopuhov <mikeb@cvs.openbsd.org> | 2011-12-20 13:27:52 +0000 |
---|---|---|
committer | Mike Belopuhov <mikeb@cvs.openbsd.org> | 2011-12-20 13:27:52 +0000 |
commit | eaa344a3ad8c68f6bda158a326e6eec6e5aa4eb5 (patch) | |
tree | 1954f2c42be034a6d0f7dbe6e3ca642db51c9972 /sbin/ipsecctl/parse.y | |
parent | 8e418f7d9be65e0c4a29c35bb109f2c47955619e (diff) |
unsigned long should use "%lu" format; from eric lax, thanks
Diffstat (limited to 'sbin/ipsecctl/parse.y')
-rw-r--r-- | sbin/ipsecctl/parse.y | 6 |
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; |