summaryrefslogtreecommitdiff
path: root/src/regress/lib/libc/arc4random-fork
diff options
context:
space:
mode:
authorbcook <>2014-07-28 04:17:07 +0000
committerbcook <>2014-07-28 04:17:07 +0000
commitd1adf2db2a64042bbddd4292f1099948ced5886b (patch)
treef700b8dd135e35382ce938ca751b6451a56ef89d /src/regress/lib/libc/arc4random-fork
parent3e4bd60e718f2c9a4ab3daff49e0462c7c557349 (diff)
downloadopenbsd-d1adf2db2a64042bbddd4292f1099948ced5886b.tar.gz
openbsd-d1adf2db2a64042bbddd4292f1099948ced5886b.tar.bz2
openbsd-d1adf2db2a64042bbddd4292f1099948ced5886b.zip
remove non-portable __progname extern from arc4random unit test.
ok @deraadt
Diffstat (limited to 'src/regress/lib/libc/arc4random-fork')
-rw-r--r--src/regress/lib/libc/arc4random-fork/arc4random-fork.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/regress/lib/libc/arc4random-fork/arc4random-fork.c b/src/regress/lib/libc/arc4random-fork/arc4random-fork.c
index 7152e5a3e7..c1e87d21c9 100644
--- a/src/regress/lib/libc/arc4random-fork/arc4random-fork.c
+++ b/src/regress/lib/libc/arc4random-fork/arc4random-fork.c
@@ -69,8 +69,7 @@ fillbuf(Buf *buf)
69static void 69static void
70usage() 70usage()
71{ 71{
72 extern const char *__progname; 72 errx(1, "usage: arc4random-fork [-bp]");
73 errx(1, "usage: %s [-bp]", __progname);
74} 73}
75 74
76static pid_t 75static pid_t