summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbcook <>2014-07-28 04:17:07 +0000
committerbcook <>2014-07-28 04:17:07 +0000
commit23872c177fa5acf651189cdfcafd44e94da780ef (patch)
treef700b8dd135e35382ce938ca751b6451a56ef89d /src
parent0e3a946410ebef371ba2b17acf449f5fb9ff53ed (diff)
downloadopenbsd-23872c177fa5acf651189cdfcafd44e94da780ef.tar.gz
openbsd-23872c177fa5acf651189cdfcafd44e94da780ef.tar.bz2
openbsd-23872c177fa5acf651189cdfcafd44e94da780ef.zip
remove non-portable __progname extern from arc4random unit test.
ok @deraadt
Diffstat (limited to 'src')
-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