Use human numbering for lines - that is start counting from 1. And tell in
error message what the number means.
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
/* ignore the first typescript line */
while((c = fgetc(sfile)) != EOF && c != '\n');
- for(line = 0; ; line++) {
+ for(line = 1; ; line++) {
double delay;
size_t blk;
char nl;
err(EXIT_FAILURE,
_("failed to read timing file %s"), tname);
errx(EXIT_FAILURE,
- _("timings file %s: %lu: unexpected format"),
+ _("timing file %s: line %lu: unexpected format"),
tname, line);
}
delay /= divi;