summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib/emotion/emotion_webcam.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/emotion/emotion_webcam.c b/src/lib/emotion/emotion_webcam.c
index a0f81c74ca..52e6b5b457 100644
--- a/src/lib/emotion/emotion_webcam.c
+++ b/src/lib/emotion/emotion_webcam.c
@@ -123,7 +123,7 @@ _emotion_check_device(Emotion_Webcam *ew)
123 123
124 EINA_REFCOUNT_INIT(ew); 124 EINA_REFCOUNT_INIT(ew);
125 125
126 if (fd > 0) close(fd); 126 if (fd >= 0) close(fd);
127 127
128 return; 128 return;
129 129