=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/less/ch.c,v retrieving revision 1.13 retrieving revision 1.14 diff -u -r1.13 -r1.14 --- src/usr.bin/less/ch.c 2015/11/06 15:50:33 1.13 +++ src/usr.bin/less/ch.c 2015/11/09 16:39:13 1.14 @@ -227,7 +227,7 @@ 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 @@ 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 @@ 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 @@ 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 @@ } } if (!wrote && !warned) { - error("Warning: log file is incomplete", NULL_PARG); + error("Warning: log file is incomplete", NULL); warned = TRUE; } } @@ -661,7 +661,7 @@ * 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); } }