chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
udev: support "udevadm info /dev/sda; udevadm info /sys/class/block/sda"
[elogind.git]
/
src
/
shared
/
logs-show.c
diff --git
a/src/shared/logs-show.c
b/src/shared/logs-show.c
index fedb4532db2505ea5b1bdf385ad312fcf152ded5..4c59ca34cd55d8b132682b52ba8fe9024e130007 100644
(file)
--- a/
src/shared/logs-show.c
+++ b/
src/shared/logs-show.c
@@
-554,7
+554,7
@@
int show_journal_by_unit(
bool follow) {
char *m = NULL;
bool follow) {
char *m = NULL;
- sd_journal *j;
+ sd_journal *j
= NULL
;
int r;
int fd;
unsigned line = 0;
int r;
int fd;
unsigned line = 0;