OSDN Git Service

input: Prefer unlink() over remove() when removing FIFO
authorJohan Hedberg <johan.hedberg@intel.com>
Sat, 22 Dec 2012 20:32:13 +0000 (22:32 +0200)
committerJohan Hedberg <johan.hedberg@intel.com>
Sat, 22 Dec 2012 20:32:45 +0000 (22:32 +0200)
profiles/input/suspend-dummy.c

index 9fa3fda..ed8b037 100644 (file)
@@ -158,5 +158,5 @@ void suspend_exit(void)
                watch = 0;
        }
 
-       remove(HOG_SUSPEND_FIFO);
+       unlink(HOG_SUSPEND_FIFO);
 }