From: dv Date: Wed, 20 Dec 2023 01:38:46 +0000 (+0000) Subject: btrace: "too long line" -> "line too long" X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=68aa30673eef16f013050379e666ae8f9a6fb48d;p=openbsd btrace: "too long line" -> "line too long" ok claudio@ --- diff --git a/usr.sbin/btrace/bt_parse.y b/usr.sbin/btrace/bt_parse.y index 12c445d2dd2..0207fe904ea 100644 --- a/usr.sbin/btrace/bt_parse.y +++ b/usr.sbin/btrace/bt_parse.y @@ -1,4 +1,4 @@ -/* $OpenBSD: bt_parse.y,v 1.54 2023/10/12 15:16:44 cheloha Exp $ */ +/* $OpenBSD: bt_parse.y,v 1.55 2023/12/20 01:38:46 dv Exp $ */ /* * Copyright (c) 2019-2023 Martin Pieuchot @@ -897,7 +897,7 @@ again: } *p++ = c; if (p == ebuf) { - yyerror("too long line"); + yyerror("line too long"); return ERROR; } } @@ -922,7 +922,7 @@ again: do { *p++ = c; if (p == ebuf) { - yyerror("too long line"); + yyerror("line too long"); return ERROR; } } while ((c = lgetc()) != EOF && isdigit(c)); @@ -956,7 +956,7 @@ again: do { *p++ = c; if (p == ebuf) { - yyerror("too long line"); + yyerror("line too long"); return ERROR; } } while ((c = lgetc()) != EOF && (allowed_in_string(c)));