summaryrefslogtreecommitdiffstats
path: root/src/basic/fileio-label.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/basic/fileio-label.c')
-rw-r--r--src/basic/fileio-label.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/basic/fileio-label.c b/src/basic/fileio-label.c
index bec988ca78..f596f1d11f 100644
--- a/src/basic/fileio-label.c
+++ b/src/basic/fileio-label.c
@@ -31,7 +31,7 @@ int write_string_file_atomic_label(const char *fn, const char *line) {
if (r < 0)
return r;
- r = write_string_file_atomic(fn, line);
+ r = write_string_file(fn, line, WRITE_STRING_FILE_CREATE|WRITE_STRING_FILE_ATOMIC);
mac_selinux_create_file_clear();