chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
util: rename write_one_line_file() to write_string_file()
[elogind.git]
/
src
/
readahead
/
readahead-common.c
diff --git
a/src/readahead/readahead-common.c
b/src/readahead/readahead-common.c
index 81bb16c7a3c81319fe7f0735dee872de1967a68b..ed81c14d896647a1af425312a5c9866fd0323666 100644
(file)
--- 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;