summaryrefslogtreecommitdiff
path: root/src/readahead/readahead-common.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/readahead/readahead-common.c')
-rw-r--r--src/readahead/readahead-common.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/readahead/readahead-common.c b/src/readahead/readahead-common.c
index 81bb16c7a3..ed81c14d89 100644
--- a/src/readahead/readahead-common.c
+++ b/src/readahead/readahead-common.c
@@ -316,7 +316,7 @@ int block_bump_request_nr(const char *p) {
goto finish;
}
- r = write_one_line_file(ap, line);
+ r = write_string_file(ap, line);
if (r < 0)
goto finish;
@@ -399,7 +399,7 @@ int block_set_readahead(const char *p, uint64_t bytes) {
goto finish;
}
- r = write_one_line_file(ap, line);
+ r = write_string_file(ap, line);
if (r < 0)
goto finish;