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:
081e009
)
journal-upload: make sure that 'r' is initialized
author
Lukas Nykryn
<lnykryn@redhat.com>
Wed, 20 Aug 2014 13:13:06 +0000
(15:13 +0200)
committer
Lukas Nykryn
<lnykryn@redhat.com>
Wed, 20 Aug 2014 13:13:06 +0000
(15:13 +0200)
src/journal-remote/journal-upload.c
patch
|
blob
|
history
diff --git
a/src/journal-remote/journal-upload.c
b/src/journal-remote/journal-upload.c
index 7a7aee81708ed26f29f9e70e6381b45086d2e4da..bdeeff67788363d65a16e38fcab7094c08c026be 100644
(file)
--- a/
src/journal-remote/journal-upload.c
+++ b/
src/journal-remote/journal-upload.c
@@
-324,7
+324,7
@@
static int dispatch_fd_input(sd_event_source *event,
}
static int open_file_for_upload(Uploader *u, const char *filename) {
- int fd, r;
+ int fd, r
= 0
;
if (streq(filename, "-"))
fd = STDIN_FILENO;