summaryrefslogtreecommitdiff
path: root/usr.sbin/ospfd/parse.y
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/ospfd/parse.y')
-rw-r--r--usr.sbin/ospfd/parse.y8
1 files changed, 5 insertions, 3 deletions
diff --git a/usr.sbin/ospfd/parse.y b/usr.sbin/ospfd/parse.y
index ada4676ef00..5ca5373bd30 100644
--- a/usr.sbin/ospfd/parse.y
+++ b/usr.sbin/ospfd/parse.y
@@ -1,4 +1,4 @@
-/* $OpenBSD: parse.y,v 1.51 2007/09/12 09:59:09 claudio Exp $ */
+/* $OpenBSD: parse.y,v 1.52 2007/10/01 08:35:12 norby Exp $ */
/*
* Copyright (c) 2004, 2005 Esben Norby <norby@openbsd.org>
@@ -852,9 +852,11 @@ top:
const char *errstr = NULL;
*p = '\0';
- yylval.v.number = strtonum(buf, LLONG_MIN, LLONG_MAX, &errstr);
+ yylval.v.number = strtonum(buf, LLONG_MIN, LLONG_MAX,
+ &errstr);
if (errstr) {
- yyerror("\"%s\" invalid number: %s", buf, errstr);
+ yyerror("\"%s\" invalid number: %s", buf,
+ errstr);
return (findeol());
}
return (NUMBER);