chiark / gitweb /
readahead: Add tool to analyze the contents of the pack file. v3.
[elogind.git] / src / readahead / readahead-replay.c
index 344dcd4041a04da626b40696d327eeae8f7dfff2..fc2c33fcc18b7b7aadd0a6163545aef64375384f 100644 (file)
@@ -183,7 +183,7 @@ static int replay(const char *root) {
 
         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;
         }