projects
/
platform
/
upstream
/
systemd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5432d8a
)
catalog: (void)ify all things
author
Lennart Poettering
<lennart@poettering.net>
Wed, 6 Mar 2019 10:42:12 +0000
(11:42 +0100)
committer
Lennart Poettering
<lennart@poettering.net>
Thu, 7 Mar 2019 14:10:06 +0000
(15:10 +0100)
src/journal/catalog.c
patch
|
blob
|
history
diff --git
a/src/journal/catalog.c
b/src/journal/catalog.c
index
af9e919
..
0106538
100644
(file)
--- a/
src/journal/catalog.c
+++ b/
src/journal/catalog.c
@@
-425,7
+425,7
@@
static int64_t write_catalog(
goto error;
}
- fchmod(fileno(w), 0644);
+
(void)
fchmod(fileno(w), 0644);
if (rename(p, database) < 0) {
r = log_error_errno(errno, "rename (%s -> %s) failed: %m", p, database);