chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
readahead: Add tool to analyze the contents of the pack file. v3.
[elogind.git]
/
src
/
readahead
/
readahead-replay.c
diff --git
a/src/readahead/readahead-replay.c
b/src/readahead/readahead-replay.c
index 886e16f296ded4c7dc95289b19f9b9331dfbd925..fc2c33fcc18b7b7aadd0a6163545aef64375384f 100644
(file)
--- a/
src/readahead/readahead-replay.c
+++ b/
src/readahead/readahead-replay.c
@@
-183,7
+183,7
@@
static int replay(const char *root) {
char_array_0(line);
char_array_0(line);
- if (!streq(line, CANONICAL_HOST
";VERSION=2\n"
)) {
+ if (!streq(line, CANONICAL_HOST
READAHEAD_PACK_FILE_VERSION
)) {
log_debug("Pack file host or version type mismatch.");
goto finish;
}
log_debug("Pack file host or version type mismatch.");
goto finish;
}
@@
-360,7
+360,7
@@
int main(int argc, char*argv[]) {
int r;
const char *root;
int r;
const char *root;
- log_set_target(LOG_TARGET_
AUTO
);
+ log_set_target(LOG_TARGET_
SAFE
);
log_parse_environment();
log_open();
log_parse_environment();
log_open();