From eaa344a3ad8c68f6bda158a326e6eec6e5aa4eb5 Mon Sep 17 00:00:00 2001 From: Mike Belopuhov Date: Tue, 20 Dec 2011 13:27:52 +0000 Subject: unsigned long should use "%lu" format; from eric lax, thanks --- sbin/ipsecctl/parse.y | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sbin/ipsecctl/parse.y') 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 @@ -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; -- cgit v1.2.3