[hackers] [ii] errm eprint isnt declared here. thanks Ali H. Fardan || Nico Golde
commit f8f3a096bc6d812b7d506d8010ca3063c3f70999
Author: Nico Golde <nico_AT_ngolde.de>
AuthorDate: Wed Sep 7 21:17:12 2016 +0200
Commit: Nico Golde <nico_AT_ngolde.de>
CommitDate: Wed Sep 7 21:17:12 2016 +0200
errm eprint isnt declared here. thanks Ali H. Fardan
diff --git a/ii.c b/ii.c
index a32326d..51318aa 100644
--- a/ii.c
+++ b/ii.c
_AT_@ -493,7 +493,7 @@ int main(int argc, char *argv[]) {
#ifdef __OpenBSD__ /* OpenBSD pledge(2) support */
if (pledge("stdio rpath wpath cpath dpath", NULL) == -1) {
- eprint("ii pledge:");
+ fprintf(stderr, "ii pledge: %s\n", strerror(errno));
exit(EXIT_FAILURE);
}
#endif
Received on Wed Sep 07 2016 - 21:17:16 CEST
This archive was generated by hypermail 2.3.0
: Wed Sep 07 2016 - 21:24:15 CEST