diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2015-11-09 16:39:14 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2015-11-09 16:39:14 +0000 |
commit | 09e0a564ee0d7993ffe3cd115be1e567dfcb464d (patch) | |
tree | e18b1cb036f3edecbafc6bfba7a134c1475a55e6 /usr.bin/less/linenum.c | |
parent | 449a8b6a5cad2487bd8f8e2beb10fc2356f91538 (diff) |
error() is not a stdarg function, so there is no reason for NULL_PARG
to be special. Simply use NULL.
Diffstat (limited to 'usr.bin/less/linenum.c')
-rw-r--r-- | usr.bin/less/linenum.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/less/linenum.c b/usr.bin/less/linenum.c index e3c4e592601..8d79fa0bd3e 100644 --- a/usr.bin/less/linenum.c +++ b/usr.bin/less/linenum.c @@ -203,7 +203,7 @@ add_lnum(LINENUM linenum, off_t pos) static void longloopmessage(void) { - ierror("Calculating line numbers", NULL_PARG); + ierror("Calculating line numbers", NULL); } static int loopcount; @@ -234,7 +234,7 @@ abort_long(void) */ screen_trashed = 1; linenums = 0; - error("Line numbers turned off", NULL_PARG); + error("Line numbers turned off", NULL); } /* |