chiark / gitweb /
test: allow deletion of temporary files from normal fs
[elogind.git] / src / readahead / readahead-replay.c
index 7bd079aae591c5459617313401fd102ae282fcca..a1ac6b0c918d804bf1eaa3f797f70c97cf99c42f 100644 (file)
@@ -150,8 +150,7 @@ static int replay(const char *root) {
         block_bump_request_nr(root);
 
         if (asprintf(&pack_fn, "%s/.readahead", root) < 0) {
-                log_error("Out of memory");
-                r = -ENOMEM;
+                r = log_oom();
                 goto finish;
         }