commit f8f3a096bc6d812b7d506d8010ca3063c3f70999
Author:     Nico Golde <[email protected]>
AuthorDate: Wed Sep 7 21:17:12 2016 +0200
Commit:     Nico Golde <[email protected]>
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
@@ -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

Reply via email to