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/core/execute.c | |
parent | b6e8f1f03dc8b7579f8c6b00372f136d74c45232 (diff) |
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/core/execute.c')
-rw-r--r-- | src/core/execute.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/execute.c b/src/core/execute.c index f7353579e9..91815b838e 100644 --- a/src/core/execute.c +++ b/src/core/execute.c @@ -1195,7 +1195,7 @@ int exec_spawn(ExecCommand *command, snprintf(t, sizeof(t), "%i", context->oom_score_adjust); char_array_0(t); - if (write_one_line_file("/proc/self/oom_score_adj", t) < 0) { + if (write_string_file("/proc/self/oom_score_adj", t) < 0) { err = -errno; r = EXIT_OOM_ADJUST; goto fail_child; |