[systemd-commits] src/journal

Daniel Mack zonque at kemper.freedesktop.org
Thu Jun 26 01:37:34 PDT 2014


 src/journal/coredumpctl.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 8ac8c5817fc1c647ac85e81b1f7ee69b99f819b0
Author: Daniel Mack <zonque at gmail.com>
Date:   Thu Jun 26 10:35:52 2014 +0200

    coredumpctl: fix HAVE_XZ check

diff --git a/src/journal/coredumpctl.c b/src/journal/coredumpctl.c
index ba78539..ce6159d 100644
--- a/src/journal/coredumpctl.c
+++ b/src/journal/coredumpctl.c
@@ -644,7 +644,7 @@ static int save_core(sd_journal *j, int fd, char **path, bool *unlink_temp) {
                                 goto error;
                         }
                 } else if (filename) {
-#if HAVE_XZ
+#ifdef HAVE_XZ
                         _cleanup_close_ int fdf;
 
                         fdf = open(filename, O_RDONLY | O_CLOEXEC);



More information about the systemd-commits mailing list