summaryrefslogtreecommitdiff
path: root/src/shared/fileio-label.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/shared/fileio-label.c')
-rw-r--r--src/shared/fileio-label.c4
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();