From 8c18f9d1cadf24075dd09758c1bc2ec0d6c660f5 Mon Sep 17 00:00:00 2001 From: bcook Date: Mon, 28 Jul 2014 04:17:07 +0000 Subject: [PATCH] remove non-portable __progname extern from arc4random unit test. ok @deraadt --- regress/lib/libc/arc4random-fork/arc4random-fork.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/regress/lib/libc/arc4random-fork/arc4random-fork.c b/regress/lib/libc/arc4random-fork/arc4random-fork.c index 7152e5a3e75..c1e87d21c9e 100644 --- a/regress/lib/libc/arc4random-fork/arc4random-fork.c +++ b/regress/lib/libc/arc4random-fork/arc4random-fork.c @@ -69,8 +69,7 @@ fillbuf(Buf *buf) static void usage() { - extern const char *__progname; - errx(1, "usage: %s [-bp]", __progname); + errx(1, "usage: arc4random-fork [-bp]"); } static pid_t -- 2.20.1