Diff between bc2e9b815bcc77d2e80d81e6a31908e3b4883f42 and 066a873e7cf8d1e9c55a51735047a3c15b274d26
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 43384c0..8af8617 100644
--- a/profiles/input/suspend-dummy.c
+++ b/profiles/input/suspend-dummy.c
@@ -125,7 +125,7 @@ int suspend_init(suspend_event suspend, resume_event resume)
HOG_SUSPEND_FIFO);
/* remove pre-existing FIFO and retry */
- if (remove(HOG_SUSPEND_FIFO) < 0) {
+ if (unlink(HOG_SUSPEND_FIFO) < 0) {
err = -errno;
error("Failed to remove FIFO (%s): %s (%d)",
HOG_SUSPEND_FIFO, strerror(-err), -err);