chiark / gitweb /
coredumpctl: fix HAVE_XZ check
authorDaniel Mack <zonque@gmail.com>
Thu, 26 Jun 2014 08:35:52 +0000 (10:35 +0200)
committerDaniel Mack <zonque@gmail.com>
Thu, 26 Jun 2014 08:35:52 +0000 (10:35 +0200)
src/journal/coredumpctl.c

index ba78539..ce6159d 100644 (file)
@@ -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);