X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fjournal%2Ftest-journal.c;h=39f4c167789d3cec08189e064b575b60696a71e4;hb=8b38f3cc3eb73adf9536cb73d0f319e60d42ea0c;hp=a9bd6cb2cfbe80175ad13bcbf36a0340b48ca3fa;hpb=7f3e62571a63ac90de6ac5eefeeb8d3e9aa6f49e;p=elogind.git
diff --git a/src/journal/test-journal.c b/src/journal/test-journal.c
index a9bd6cb2c..39f4c1677 100644
--- a/src/journal/test-journal.c
+++ b/src/journal/test-journal.c
@@ -6,23 +6,24 @@
Copyright 2011 Lennart Poettering
systemd is free software; you can redistribute it and/or modify it
- under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2 of the License, or
+ under the terms of the GNU Lesser General Public License as published by
+ the Free Software Foundation; either version 2.1 of the License, or
(at your option) any later version.
systemd is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- General Public License for more details.
+ Lesser General Public License for more details.
- You should have received a copy of the GNU General Public License
+ You should have received a copy of the GNU Lesser General Public License
along with systemd; If not, see .
***/
#include
#include
-#include "sd-journal.h"
+#include
+
#include "journal-file.h"
#include "log.h"
@@ -113,5 +114,7 @@ int main(int argc, char *argv[]) {
journal_directory_vacuum(".", 3000000, 0);
+ log_error("Exiting...");
+
return 0;
}