summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKeith <keith@rhizomatica.org>2017-09-04 11:19:13 +0200
committerHarald Welte <laforge@gnumonks.org>2017-09-05 10:44:22 +0000
commit03516d6dd2fe94e94879db285d0b3492f0734831 (patch)
treecd98da4c7d545660f31ed24518db444847ac235b
parentb9759dba9ecd2720aab1c91d6824a18e2c0ffbcd (diff)
cosmetic: clarify language in vty read error
This is very minor but it annoys every time I see it. The text: "Error occurred during reading below line:" is not a complete sentence. The default understanding in english having left out the article implies that the error occured reading below [the] specified line, not that the error occured reading [the] specified line. That is to say, The message implied that the printed line was the last successfully parsed line. Change-Id: Ib4dd135feb9609b14983db5dac321a70267d8f30
-rw-r--r--src/vty/vty.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vty/vty.c b/src/vty/vty.c
index 644d4ed6..113a781c 100644
--- a/src/vty/vty.c
+++ b/src/vty/vty.c
@@ -1481,7 +1481,7 @@ vty_read_file(FILE *confp, void *priv)
fprintf(stderr, "There is no such command.\n");
break;
}
- fprintf(stderr, "Error occurred during reading below "
+ fprintf(stderr, "Error occurred during reading the below "
"line:\n%s\n", vty->buf);
vty_close(vty);
return -EINVAL;