diff options
author | 2011-12-20 13:27:51 +0000 | |
---|---|---|
committer | 2011-12-20 13:27:51 +0000 | |
commit | 23f0dec9109a80170cf6f30cd22d61561ab7a1e2 (patch) | |
tree | 87b41d1633b3fc2a13ecb4c0fa41e79b3b10bc38 | |
parent | respect the MNT_FORCE flag in ntfs_unmount and proceed even if there's (diff) | |
download | wireguard-openbsd-23f0dec9109a80170cf6f30cd22d61561ab7a1e2.tar.xz wireguard-openbsd-23f0dec9109a80170cf6f30cd22d61561ab7a1e2.zip |
unsigned long should use "%lu" format; from eric lax, thanks
-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; |