commit 747b2bfdceb94ff45b7ced747cbe3458d26dc6a8
parent fc4fd37ba81aa101b9790a875511456b4e57d66c
Author: sin <sin@2f30.org>
Date: Fri, 7 Feb 2014 11:35:29 +0000
Pass the actual FIFO path to weprintf()
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
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)