ii

My fork of https://tools.suckless.org/ii/
git clone https://git.inz.fi/ii
Log | Files | Refs | README | LICENSE

commit f8f3a096bc6d812b7d506d8010ca3063c3f70999
parent 584290f2642eeacbe1b24e7174e49139d6787252
Author: Nico Golde <nico@ngolde.de>
Date:   Wed,  7 Sep 2016 21:17:12 +0200

errm eprint isnt declared here. thanks Ali H. Fardan

Diffstat:
Mii.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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