aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsin <sin@2f30.org>2014-02-07 11:35:29 +0000
committersin <sin@2f30.org>2014-02-07 11:35:29 +0000
commit747b2bfdceb94ff45b7ced747cbe3458d26dc6a8 (patch)
tree1c1b13679e0a2b38a44df215c6672ea9899590f8
parentfc4fd37ba81aa101b9790a875511456b4e57d66c (diff)
Pass the actual FIFO path to weprintf()
-rw-r--r--sinit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sinit.c b/sinit.c
index b96ef1e..765d565 100644
--- 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)