From 09e0a564ee0d7993ffe3cd115be1e567dfcb464d Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Mon, 9 Nov 2015 16:39:14 +0000 Subject: error() is not a stdarg function, so there is no reason for NULL_PARG to be special. Simply use NULL. --- usr.bin/less/linenum.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'usr.bin/less/linenum.c') 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); } /* -- cgit v1.2.3