summaryrefslogtreecommitdiff
path: root/src/journal
diff options
context:
space:
mode:
authorDaniel Mack <zonque@gmail.com>2014-06-26 10:35:52 +0200
committerDaniel Mack <zonque@gmail.com>2014-06-26 10:35:52 +0200
commit8ac8c5817fc1c647ac85e81b1f7ee69b99f819b0 (patch)
treea7b6acf6a1090efa0bf504c588c02702d86e5263 /src/journal
parent2fb8159fb3f7701fa0f658fb3c3a7732cc7f40fe (diff)
coredumpctl: fix HAVE_XZ check
Diffstat (limited to 'src/journal')
-rw-r--r--src/journal/coredumpctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/journal/coredumpctl.c b/src/journal/coredumpctl.c
index ba78539826..ce6159d62c 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);