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:
d2f6468
)
coccinelle: run safe_fclose.cocci again
author
Lennart Poettering
<lennart@poettering.net>
Fri, 23 Mar 2018 15:32:48 +0000
(16:32 +0100)
committer
Lennart Poettering
<lennart@poettering.net>
Fri, 23 Mar 2018 15:32:48 +0000
(16:32 +0100)
src/coredump/coredumpctl.c
patch
|
blob
|
history
diff --git
a/src/coredump/coredumpctl.c
b/src/coredump/coredumpctl.c
index
a1b8b85
..
b0a00cd
100644
(file)
--- a/
src/coredump/coredumpctl.c
+++ b/
src/coredump/coredumpctl.c
@@
-1072,8
+1072,7
@@
int main(int argc, char *argv[]) {
end:
pager_close();
- if (arg_output)
- fclose(arg_output);
+ safe_fclose(arg_output);
return r >= 0 ? r : EXIT_FAILURE;
}