diff options
Diffstat (limited to 'src/core/machine-id-setup.c')
-rw-r--r-- | src/core/machine-id-setup.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/machine-id-setup.c b/src/core/machine-id-setup.c index 146c5653c9..51074fea44 100644 --- a/src/core/machine-id-setup.c +++ b/src/core/machine-id-setup.c @@ -216,7 +216,7 @@ int machine_id_setup(void) { * /run/machine-id as a replacement */ m = umask(0022); - r = write_one_line_file("/run/machine-id", id); + r = write_string_file("/run/machine-id", id); umask(m); if (r < 0) { |