errm eprint isnt declared here. thanks Ali H. Fardan
This commit is contained in:
parent
584290f264
commit
f8f3a096bc
2
ii.c
2
ii.c
@ -493,7 +493,7 @@ int main(int argc, char *argv[]) {
|
|||||||
|
|
||||||
#ifdef __OpenBSD__ /* OpenBSD pledge(2) support */
|
#ifdef __OpenBSD__ /* OpenBSD pledge(2) support */
|
||||||
if (pledge("stdio rpath wpath cpath dpath", NULL) == -1) {
|
if (pledge("stdio rpath wpath cpath dpath", NULL) == -1) {
|
||||||
eprint("ii pledge:");
|
fprintf(stderr, "ii pledge: %s\n", strerror(errno));
|
||||||
exit(EXIT_FAILURE);
|
exit(EXIT_FAILURE);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user