Home
last modified time | relevance | path

Searched refs:slink_tmp (Results 1 – 1 of 1) sorted by relevance

/systemd-251/src/udev/
Dudev-node.c69 const char *id, *slink_tmp; in node_symlink() local
97 slink_tmp = strjoina(slink, ".tmp-", id); in node_symlink()
98 (void) unlink(slink_tmp); in node_symlink()
100 r = create_symlink(target, slink_tmp); in node_symlink()
102 …urn log_device_debug_errno(dev, r, "Failed to create symlink '%s' to '%s': %m", slink_tmp, target); in node_symlink()
104 if (rename(slink_tmp, slink) < 0) { in node_symlink()
105 … r = log_device_debug_errno(dev, errno, "Failed to rename '%s' to '%s': %m", slink_tmp, slink); in node_symlink()
106 (void) unlink(slink_tmp); in node_symlink()