summaryrefslogtreecommitdiffstats
path: root/src/binfmt
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2019-04-24 18:43:16 +0200
committerLennart Poettering <lennart@poettering.net>2019-05-08 12:36:20 +0200
commit22e596d6d5fa80fb33ab84451db8962e2facb17a (patch)
tree970f450a5cb11298ac3dcdaab19ae7009731c54a /src/binfmt
parentfileio: add new WRITE_STRING_FILE_MKDIR_0755 flag for mkdir'ing parent (diff)
downloadsystemd-22e596d6d5fa80fb33ab84451db8962e2facb17a.tar.xz
systemd-22e596d6d5fa80fb33ab84451db8962e2facb17a.zip
tree-wide: voidify a few calls
Diffstat (limited to 'src/binfmt')
-rw-r--r--src/binfmt/binfmt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/binfmt/binfmt.c b/src/binfmt/binfmt.c
index 66e2f0131c..dda979cc42 100644
--- a/src/binfmt/binfmt.c
+++ b/src/binfmt/binfmt.c
@@ -213,7 +213,7 @@ static int run(int argc, char *argv[]) {
}
/* Flush out all rules */
- write_string_file("/proc/sys/fs/binfmt_misc/status", "-1", WRITE_STRING_FILE_DISABLE_BUFFER);
+ (void) write_string_file("/proc/sys/fs/binfmt_misc/status", "-1", WRITE_STRING_FILE_DISABLE_BUFFER);
STRV_FOREACH(f, files) {
k = apply_file(*f, true);