summaryrefslogtreecommitdiff
path: root/src/journal/journal-file.c
diff options
context:
space:
mode:
authorVito Caputo <vito.caputo@coreos.com>2016-02-19 16:51:41 -0800
committerVito Caputo <vito.caputo@coreos.com>2016-02-19 18:50:16 -0800
commit69a3a6fd3d96101d42a01d0e7d33ae2ef613e54a (patch)
treeaf9fb43c235af981643c4efb27ad166fe5a3d89f /src/journal/journal-file.c
parentfb42603752444ad7a8b4e29a6e264cab7e219e9c (diff)
journal: add void cast to journal_file_close() calls
Diffstat (limited to 'src/journal/journal-file.c')
-rw-r--r--src/journal/journal-file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/journal/journal-file.c b/src/journal/journal-file.c
index ccb689451e..52110aa498 100644
--- a/src/journal/journal-file.c
+++ b/src/journal/journal-file.c
@@ -2898,7 +2898,7 @@ fail:
if (f->fd >= 0 && mmap_cache_got_sigbus(f->mmap, f->fd))
r = -EIO;
- journal_file_close(f);
+ (void) journal_file_close(f);
return r;
}