]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/core/machine-id-setup.c
util: rework rm_rf() logic
[thirdparty/systemd.git] / src / core / machine-id-setup.c
index 7505dcbcaa1b97c31c7bab74903b83b523a6a917..2ffb2a7aa6f6d357f47b011d8594063ef53833d9 100644 (file)
@@ -313,7 +313,7 @@ int machine_id_commit(const char *root) {
         if (r < 0)
                 return log_error_errno(r, "We didn't find a valid machine ID in %s.", etc_machine_id);
 
-        r = is_fd_on_temporary_fs(fd);
+        r = fd_is_temporary_fs(fd);
         if (r < 0)
                 return log_error_errno(r, "Failed to determine whether %s is on a temporary file system: %m", etc_machine_id);
         if (r == 0) {