summaryrefslogtreecommitdiff
path: root/src/journal/test-journal-flush.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/test-journal-flush.c
parentfb42603752444ad7a8b4e29a6e264cab7e219e9c (diff)
journal: add void cast to journal_file_close() calls
Diffstat (limited to 'src/journal/test-journal-flush.c')
-rw-r--r--src/journal/test-journal-flush.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/journal/test-journal-flush.c b/src/journal/test-journal-flush.c
index 7bd9c40366..0c35d532c6 100644
--- a/src/journal/test-journal-flush.c
+++ b/src/journal/test-journal-flush.c
@@ -66,7 +66,7 @@ int main(int argc, char *argv[]) {
sd_journal_close(j);
- journal_file_close(new_journal);
+ (void) journal_file_close(new_journal);
unlink(fn);
assert_se(rmdir(dn) == 0);