diff options
author | bcook <> | 2014-07-28 04:17:07 +0000 |
---|---|---|
committer | bcook <> | 2014-07-28 04:17:07 +0000 |
commit | 23872c177fa5acf651189cdfcafd44e94da780ef (patch) | |
tree | f700b8dd135e35382ce938ca751b6451a56ef89d /src | |
parent | 0e3a946410ebef371ba2b17acf449f5fb9ff53ed (diff) | |
download | openbsd-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.c | 3 |
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) | |||
69 | static void | 69 | static void |
70 | usage() | 70 | usage() |
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 | ||
76 | static pid_t | 75 | static pid_t |