projects
/
platform
/
upstream
/
systemd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5febf10
)
logind: cast close() call to (void)
author
Lennart Poettering
<lennart@poettering.net>
Mon, 15 Jun 2015 23:55:20 +0000
(
01:55
+0200)
committer
Lennart Poettering
<lennart@poettering.net>
Mon, 15 Jun 2015 23:55:20 +0000
(
01:55
+0200)
src/login/logind-button.c
patch
|
blob
|
history
diff --git
a/src/login/logind-button.c
b/src/login/logind-button.c
index
610adc5
..
8079d0b
100644
(file)
--- a/
src/login/logind-button.c
+++ b/
src/login/logind-button.c
@@
-70,7
+70,7
@@
void button_free(Button *b) {
/* If the device has been unplugged close() returns
* ENODEV, let's ignore this, hence we don't use
* safe_close() */
- close(b->fd);
+
(void)
close(b->fd);
}
free(b->name);