diff options
author | Lennart Poettering <lennart@poettering.net> | 2015-06-16 01:55:20 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2015-06-16 01:55:20 +0200 |
commit | 4fba57963b8c83085c58d59c1bfc03633df22bae (patch) | |
tree | 8ee87eebd37ca0f29aa7e35802319584a120bbba /src | |
parent | 5febf10c1c05344dfb2ea5c2673d64de4568ef3a (diff) |
logind: cast close() call to (void)
Diffstat (limited to 'src')
-rw-r--r-- | src/login/logind-button.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/login/logind-button.c b/src/login/logind-button.c index 610adc513e..8079d0b5aa 100644 --- 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); |