summaryrefslogtreecommitdiff
path: root/src/core/manager.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-10-14 19:32:46 +0200
committerLennart Poettering <lennart@poettering.net>2015-10-19 23:07:18 +0200
commitac5b0c13d8023745c0fbdaaa95dcec5b7b21d1e2 (patch)
tree8e9be0a69a09e5eda37d9ecfd141cd105ccaffd3 /src/core/manager.c
parent4b4cb0a1ffbc63c6b40d4205f8e248108217e3dc (diff)
tree-wide: add more void casts for various syscall invocations
Diffstat (limited to 'src/core/manager.c')
-rw-r--r--src/core/manager.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/manager.c b/src/core/manager.c
index b2d56e88a7..6ae836148d 100644
--- a/src/core/manager.c
+++ b/src/core/manager.c
@@ -2952,9 +2952,9 @@ void manager_set_show_status(Manager *m, ShowStatus mode) {
m->show_status = mode;
if (mode > 0)
- touch("/run/systemd/show-status");
+ (void) touch("/run/systemd/show-status");
else
- unlink("/run/systemd/show-status");
+ (void) unlink("/run/systemd/show-status");
}
static bool manager_get_show_status(Manager *m, StatusType type) {