errm eprint isnt declared here. thanks Ali H. Fardan

This commit is contained in:
Nico Golde 2016-09-07 21:17:12 +02:00
parent 584290f264
commit f8f3a096bc
1 changed files with 1 additions and 1 deletions

2
ii.c
View File

@ -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