OSDN Git Service
(root)
/
android-x86
/
external-bluetooth-bluez.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ee4082c
)
input: Prefer unlink() over remove() when opening FIFO fails
author
Marcel Holtmann
<marcel@holtmann.org>
Sat, 22 Dec 2012 20:36:41 +0000
(12:36 -0800)
committer
Marcel Holtmann
<marcel@holtmann.org>
Sat, 22 Dec 2012 20:36:41 +0000
(12:36 -0800)
profiles/input/suspend-dummy.c
patch
|
blob
|
history
diff --git
a/profiles/input/suspend-dummy.c
b/profiles/input/suspend-dummy.c
index
ed8b037
..
4c56c84
100644
(file)
--- a/
profiles/input/suspend-dummy.c
+++ b/
profiles/input/suspend-dummy.c
@@
-146,7
+146,7
@@
int suspend_init(suspend_event suspend, resume_event resume)
ret = fifo_open();
if (ret < 0)
-
remove
(HOG_SUSPEND_FIFO);
+
unlink
(HOG_SUSPEND_FIFO);
return ret;
}