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/capability.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/shared/capability.c')
-rw-r--r-- | src/shared/capability.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/capability.c b/src/shared/capability.c index cad718d749..321952067d 100644 --- a/src/shared/capability.c +++ b/src/shared/capability.c @@ -204,7 +204,7 @@ static int drop_from_file(const char *fn, uint64_t drop) { if (asprintf(&p, "%u %u", lo, hi) < 0) return -ENOMEM; - r = write_one_line_file(fn, p); + r = write_string_file(fn, p); free(p); return r; |