X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=src%2Fshared%2Ffileio-label.c;h=0711826e85915fc067e96550667a68ac70fdda09;hp=5bf127bcf19f6c713c341fc101b4b457760664ef;hb=517d56b1d0f67dcf76710bc1e17b05518b8cabe6;hpb=a5c32cff1f56afe6f0c6c70d91a88a7a8238b2d7 diff --git a/src/shared/fileio-label.c b/src/shared/fileio-label.c index 5bf127bcf..0711826e8 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();