From: guenther Date: Sun, 11 Oct 2015 07:16:01 +0000 (+0000) Subject: YYSTYPE.number is int64_t, so format with 's PRId64 X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=847420c88c44912409e67b53df31c4e11d1cebf4;p=openbsd YYSTYPE.number is int64_t, so format with 's PRId64 ok yasuoka@ --- diff --git a/usr.sbin/npppd/npppd/parse.y b/usr.sbin/npppd/npppd/parse.y index b461140ea37..23cf71c6ae4 100644 --- a/usr.sbin/npppd/npppd/parse.y +++ b/usr.sbin/npppd/npppd/parse.y @@ -1,4 +1,4 @@ -/* $OpenBSD: parse.y,v 1.16 2015/02/17 05:12:51 miod Exp $ */ +/* $OpenBSD: parse.y,v 1.17 2015/10/11 07:16:01 guenther Exp $ */ /* * Copyright (c) 2002, 2003, 2004 Henning Brauer @@ -29,6 +29,7 @@ #include #include +#include #include #include #include @@ -591,7 +592,8 @@ mppekeylen : NUMBER { else if ($1 == 56) $$ = NPPPD_MPPE_56BIT; else if ($1 == 128) $$ = NPPPD_MPPE_128BIT; else { - yyerror("%d: unknown mppe key length", $$); + yyerror("%"PRId64": unknown mppe key length", + $$); YYERROR; } }