diff options
author | Lennart Poettering <lennart@poettering.net> | 2013-04-02 20:31:42 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2013-04-03 20:12:56 +0200 |
commit | 574d5f2dfc25226afc718aa5ba1a145fe5cad221 (patch) | |
tree | 01fc6b70bd622d40da1c60fd04d1f15c85aebd93 /src/shared/fileio-label.c | |
parent | b6e8f1f03dc8b7579f8c6b00372f136d74c45232 (diff) | |
download | systemd-574d5f2dfc25226afc718aa5ba1a145fe5cad221.tar.gz systemd-574d5f2dfc25226afc718aa5ba1a145fe5cad221.tar.bz2 systemd-574d5f2dfc25226afc718aa5ba1a145fe5cad221.zip |
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.
Diffstat (limited to 'src/shared/fileio-label.c')
-rw-r--r-- | src/shared/fileio-label.c | 4 |
1 files changed, 2 insertions, 2 deletions
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(); |