Diff between 03a29a33d6b25dde33275498e761a1c37ed0b00b and edce3e3f88a3270f0a83511b8b6d7f0d409f449e
Changed Files
| File | Additions | Deletions | Status |
| profiles/input/suspend-dummy.c | +1 | -1 | modified |
Full Patch
diff --git a/profiles/input/suspend-dummy.c b/profiles/input/suspend-dummy.c
index 8af8617..97e42e0 100644
--- a/profiles/input/suspend-dummy.c
+++ b/profiles/input/suspend-dummy.c
@@ -117,7 +117,7 @@ int suspend_init(suspend_event suspend, resume_event resume)
suspend_cb = suspend;
resume_cb = resume;
- if (mkfifo(HOG_SUSPEND_FIFO, S_IRWXU) < 0) {
+ if (mkfifo(HOG_SUSPEND_FIFO, S_IRUSR | S_IWUSR) < 0) {
int err = -errno;
if (err == -EEXIST) {