chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
manager: fd must be int, not char
[elogind.git]
/
src
/
readahead-collect.c
diff --git
a/src/readahead-collect.c
b/src/readahead-collect.c
index 693729598e4102dd1c7a8ef3d1341b8f7d6b1b39..3c48a02fc9e49dc9a92c3e43d4715a0dbcbfbbe9 100644
(file)
--- a/
src/readahead-collect.c
+++ b/
src/readahead-collect.c
@@
-290,13
+290,13
@@
static int collect(const char *root) {
log_debug("Collecting...");
log_debug("Collecting...");
- if (access("/
dev/.
run/systemd/readahead/cancel", F_OK) >= 0) {
+ if (access("/run/systemd/readahead/cancel", F_OK) >= 0) {
log_debug("Collection canceled");
r = -ECANCELED;
goto finish;
}
log_debug("Collection canceled");
r = -ECANCELED;
goto finish;
}
- if (access("/
dev/.
run/systemd/readahead/done", F_OK) >= 0) {
+ if (access("/run/systemd/readahead/done", F_OK) >= 0) {
log_debug("Got termination request");
goto done;
}
log_debug("Got termination request");
goto done;
}