remove non-portable __progname extern from arc4random unit test.
authorbcook <bcook@openbsd.org>
Mon, 28 Jul 2014 04:17:07 +0000 (04:17 +0000)
committerbcook <bcook@openbsd.org>
Mon, 28 Jul 2014 04:17:07 +0000 (04:17 +0000)
ok @deraadt

regress/lib/libc/arc4random-fork/arc4random-fork.c

index 7152e5a..c1e87d2 100644 (file)
@@ -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