From: bcook Date: Mon, 28 Jul 2014 04:17:07 +0000 (+0000) Subject: remove non-portable __progname extern from arc4random unit test. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=8c18f9d1cadf24075dd09758c1bc2ec0d6c660f5;p=openbsd remove non-portable __progname extern from arc4random unit test. ok @deraadt --- 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