artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a9d9b0f
)
remove non-portable __progname extern from arc4random unit test.
author
bcook
<bcook@openbsd.org>
Mon, 28 Jul 2014 04:17:07 +0000
(
04:17
+0000)
committer
bcook
<bcook@openbsd.org>
Mon, 28 Jul 2014 04:17:07 +0000
(
04:17
+0000)
ok @deraadt
regress/lib/libc/arc4random-fork/arc4random-fork.c
patch
|
blob
|
history
diff --git
a/regress/lib/libc/arc4random-fork/arc4random-fork.c
b/regress/lib/libc/arc4random-fork/arc4random-fork.c
index
7152e5a
..
c1e87d2
100644
(file)
--- 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