[PATCH weston v2] logind: actually close fd in weston_logind_close()

Derek Foreman derekf at osg.samsung.com
Thu Apr 30 12:37:03 PDT 2015


You had one job...

Signed-off-by: Derek Foreman <derekf at osg.samsung.com>
---
Recommended change by David Herrmann.

 src/launcher-util.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/launcher-util.c b/src/launcher-util.c
index e89710b..00cb935 100644
--- a/src/launcher-util.c
+++ b/src/launcher-util.c
@@ -190,7 +190,7 @@ void
 weston_launcher_close(struct weston_launcher *launcher, int fd)
 {
 	if (launcher->logind)
-		return weston_logind_close(launcher->logind, fd);
+		weston_logind_close(launcher->logind, fd);
 
 	close(fd);
 }
-- 
2.1.4



More information about the wayland-devel mailing list