ii

git clone https://orangeshoelaces.net/git/ii.git

f8f3a096bc6d812b7d506d8010ca3063c3f70999

Author: Nico Golde on 09/07/2016

Committer: Nico Golde on 09/07/2016

errm eprint isnt declared here. thanks Ali H. Fardan

Stats

ii.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Patch

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