Pass the actual FIFO path to weprintf() - sinit - suckless init
HTML git clone git://git.suckless.org/sinit
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
DIR commit 747b2bfdceb94ff45b7ced747cbe3458d26dc6a8
DIR parent fc4fd37ba81aa101b9790a875511456b4e57d66c
HTML Author: sin <sin@2f30.org>
Date: Fri, 7 Feb 2014 11:35:29 +0000
Pass the actual FIFO path to weprintf()
Diffstat:
M sinit.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
DIR diff --git a/sinit.c b/sinit.c
@@ -57,7 +57,7 @@ main(void)
unlink(fifopath);
umask(0);
if (mkfifo(fifopath, 0600) < 0)
- weprintf("sinit: mkfifo %s:");
+ weprintf("sinit: mkfifo %s:", fifopath);
fd = open(fifopath, O_RDWR | O_NONBLOCK);
if (fd < 0)