[systemd-commits] 2 commits - src/journal

Thomas H.P. Andersen phomes at kemper.freedesktop.org
Thu Jun 26 14:17:41 PDT 2014


 src/journal/coredump.c    |    2 +-
 src/journal/coredumpctl.c |    3 +--
 2 files changed, 2 insertions(+), 3 deletions(-)

New commits:
commit de8f6e546315fd9d016ff51a52100a669261ba43
Author: Thomas Hindoe Paaboel Andersen <phomes at gmail.com>
Date:   Thu Jun 26 23:16:24 2014 +0200

    coredumpctl: remove unused variable

diff --git a/src/journal/coredumpctl.c b/src/journal/coredumpctl.c
index ce6159d..5a6c897 100644
--- a/src/journal/coredumpctl.c
+++ b/src/journal/coredumpctl.c
@@ -718,8 +718,7 @@ static int dump_core(sd_journal* j) {
 }
 
 static int run_gdb(sd_journal *j) {
-
-        _cleanup_free_ char *exe = NULL, *coredump = NULL, *path = NULL;
+        _cleanup_free_ char *exe = NULL, *path = NULL;
         bool unlink_path = false;
         const char *data;
         siginfo_t st;

commit 2bb9a7a2864cf8e0703ec207c6dcf0fb7fe50275
Author: Thomas Hindoe Paaboel Andersen <phomes at gmail.com>
Date:   Thu Jun 26 23:13:12 2014 +0200

    coredump: fix debug message
    
    typo from 347272731e15d3c4a70fad7ccd7185e8e8059d01

diff --git a/src/journal/coredump.c b/src/journal/coredump.c
index bb6dcba..5e93091 100644
--- a/src/journal/coredump.c
+++ b/src/journal/coredump.c
@@ -500,7 +500,7 @@ int main(int argc, char* argv[]) {
         log_debug("Selected storage '%s'.",
                   coredump_storage_to_string(arg_storage));
         log_debug("Selected compression %s:%u.",
-                  coredump_compression_to_string(arg_storage),
+                  coredump_compression_to_string(arg_compression),
                   arg_compression_level);
 
         r = parse_uid(argv[INFO_UID + 1], &uid);



More information about the systemd-commits mailing list