From 574d5f2dfc25226afc718aa5ba1a145fe5cad221 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Tue, 2 Apr 2013 20:31:42 +0200 Subject: util: rename write_one_line_file() to write_string_file() You can write much more than just one line with this call (and we frequently do), so let's correct the naming. --- src/readahead/readahead-common.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/readahead/readahead-common.c') 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; -- cgit v1.2.3-54-g00ecf