chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2c9af27
)
logind: cast away return value we don't care about
author
Lennart Poettering
<lennart@poettering.net>
Fri, 2 Mar 2018 10:55:33 +0000
(11:55 +0100)
committer
Sven Eden
<yamakuzure@gmx.net>
Wed, 30 May 2018 05:59:11 +0000
(07:59 +0200)
src/login/logind-session-device.c
patch
|
blob
|
history
diff --git
a/src/login/logind-session-device.c
b/src/login/logind-session-device.c
index 4a378e14c5e1ae5b998bb6b4e6869d30e9aaa5bd..64a6bd273f392d2d153fda84d6dd97c7560e3d47 100644
(file)
--- a/
src/login/logind-session-device.c
+++ b/
src/login/logind-session-device.c
@@
-168,7
+168,7
@@
static int session_device_open(SessionDevice *sd, bool active) {
} else
/* DRM-Master is granted to the first user who opens a device automatically (ughh,
* racy!). Hence, we just drop DRM-Master in case we were the first. */
- sd_drmdropmaster(fd);
+
(void)
sd_drmdropmaster(fd);
break;
case DEVICE_TYPE_EVDEV: