diff options
author | Philip Guenther <guenther@cvs.openbsd.org> | 2015-10-11 07:16:02 +0000 |
---|---|---|
committer | Philip Guenther <guenther@cvs.openbsd.org> | 2015-10-11 07:16:02 +0000 |
commit | 28cb2ad8a985ce6218779a6e7ed4395b1268bf79 (patch) | |
tree | 6efa99ee39f6b7ae369a99e26a321b5018653590 | |
parent | 9f47a735ef87964388a2749b5465c977298f92cb (diff) |
YYSTYPE.number is int64_t, so format with <inttypes.h>'s PRId64
ok yasuoka@
-rw-r--r-- | usr.sbin/npppd/npppd/parse.y | 6 |
1 files changed, 4 insertions, 2 deletions
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 <henning@openbsd.org> @@ -29,6 +29,7 @@ #include <ctype.h> #include <errno.h> +#include <inttypes.h> #include <limits.h> #include <stdarg.h> #include <stdio.h> @@ -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; } } |