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/decode.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/decode.c')
-rw-r--r-- | usr.bin/less/decode.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/less/decode.c b/usr.bin/less/decode.c index e1ea0d56119..a03c65606e6 100644 --- a/usr.bin/less/decode.c +++ b/usr.bin/less/decode.c @@ -345,7 +345,7 @@ void add_fcmd_table(char *buf, int len) { if (add_cmd_table(&list_fcmd_tables, buf, len) < 0) - error("Warning: some commands disabled", NULL_PARG); + error("Warning: some commands disabled", NULL); } /* @@ -355,7 +355,7 @@ void add_ecmd_table(char *buf, int len) { if (add_cmd_table(&list_ecmd_tables, buf, len) < 0) - error("Warning: some edit commands disabled", NULL_PARG); + error("Warning: some edit commands disabled", NULL); } /* @@ -366,7 +366,7 @@ add_var_table(struct tablelist **tlist, char *buf, int len) { if (add_cmd_table(tlist, buf, len) < 0) error("Warning: environment variables from " - "lesskey file unavailable", NULL_PARG); + "lesskey file unavailable", NULL); } /* |