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/shared/fileio-label.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/shared/fileio-label.c') diff --git a/src/shared/fileio-label.c b/src/shared/fileio-label.c index 5bf127bcf1..0711826e85 100644 --- a/src/shared/fileio-label.c +++ b/src/shared/fileio-label.c @@ -26,14 +26,14 @@ #include "fileio-label.h" #include "label.h" -int write_one_line_file_atomic_label(const char *fn, const char *line) { +int write_string_file_atomic_label(const char *fn, const char *line) { int r; r = label_context_set(fn, S_IFREG); if (r < 0) return r; - write_one_line_file_atomic(fn, line); + write_string_file_atomic(fn, line); label_context_clear(); -- cgit v1.2.3-54-g00ecf