mirror of
https://gitlab.com/sortix/sortix.git
synced 2023-02-13 20:55:38 -05:00
Improved error message upon line reading failure in head(1) and tail(1).
This commit is contained in:
parent
d6f9505d3b
commit
7d4c79bc8c
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ bool processfp(const char* inputname, FILE* fp)
|
|||
if ( linelen < 0 )
|
||||
{
|
||||
if ( feof(fp) ) { break; }
|
||||
error(1, errno, "%s", inputname);
|
||||
error(1, errno, "error reading line: %s", inputname);
|
||||
}
|
||||
if ( specialleading )
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue