sacc

sacc(omys), simple console gopher client (mirror)
git clone https://git.parazyd.org/sacc
Log | Files | Refs | LICENSE

commit f2c03523d69f506dd4f40f4258ed8e37c5f008ca
parent e5ffdd3e259aafb40e46381e1093c942b5a91757
Author: Quentin Rameau <quinq@fifth.space>
Date:   Sun, 27 Aug 2017 13:27:56 +0200

Fix die() call in setup()

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

diff --git a/sacc.c b/sacc.c @@ -749,7 +749,7 @@ setup(void) if ((devnullfd = open("/dev/null", O_WRONLY)) < 0) die("open: /dev/null: %s", strerror(errno)); if (mkdir("/tmp/sacc", S_IRWXU) < 0 && errno != EEXIST) - die("mkdir: %s: %s", "/tmp/sacc", errno); + die("mkdir: %s: %s", "/tmp/sacc", strerror(errno)); uisetup(); }