diff options
Diffstat (limited to 'usr.bin/less/ch.c')
-rw-r--r-- | usr.bin/less/ch.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/usr.bin/less/ch.c b/usr.bin/less/ch.c index 38a502a233c..547345896d8 100644 --- a/usr.bin/less/ch.c +++ b/usr.bin/less/ch.c @@ -227,7 +227,7 @@ read_more: if (!(ch_flags & CH_CANSEEK)) return ('?'); if (lseek(ch_file, (off_t)pos, SEEK_SET) == BAD_LSEEK) { - error("seek error", NULL_PARG); + error("seek error", NULL); clear_eol(); return (EOI); } @@ -251,7 +251,7 @@ read_more: if (n == READ_INTR) return (EOI); if (n < 0) { - error("read error", NULL_PARG); + error("read error", NULL); clear_eol(); n = 0; } @@ -341,7 +341,7 @@ void ch_ungetchar(int c) { if (c != -1 && ch_ungotchar != -1) - error("ch_ungetchar overrun", NULL_PARG); + error("ch_ungetchar overrun", NULL); ch_ungotchar = c; } @@ -358,7 +358,7 @@ end_logfile(void) return; if (!tried && ch_fsize == -1) { tried = TRUE; - ierror("Finishing logfile", NULL_PARG); + ierror("Finishing logfile", NULL); while (ch_forw_get() != EOI) if (ABORT_SIGS()) break; @@ -395,7 +395,7 @@ sync_logfile(void) } } if (!wrote && !warned) { - error("Warning: log file is incomplete", NULL_PARG); + error("Warning: log file is incomplete", NULL); warned = TRUE; } } @@ -661,7 +661,7 @@ ch_flush(void) * there's a good chance we're at the beginning anyway. * {{ I think this is bogus reasoning. }} */ - error("seek error to 0", NULL_PARG); + error("seek error to 0", NULL); } } |