summaryrefslogtreecommitdiff
path: root/udev_rules.c
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@suse.de>2006-04-05 22:29:33 +0200
committerKay Sievers <kay.sievers@suse.de>2006-04-05 22:29:33 +0200
commita4d5ca644ed8bc59274967c17981d7448a075c07 (patch)
treedab1bf1e0604a4469ca0d55a972b070e6b55b368 /udev_rules.c
parent1017f139b311d7185f57f803c176f191e6d0ce3b (diff)
merge device event handling and make database content available on "remove"
Diffstat (limited to 'udev_rules.c')
-rw-r--r--udev_rules.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/udev_rules.c b/udev_rules.c
index 1aedb11118..09a299f224 100644
--- a/udev_rules.c
+++ b/udev_rules.c
@@ -610,7 +610,7 @@ found:
snprintf(udev->tmp_node, sizeof(udev->tmp_node), "%s/.tmp-%u-%u",
udev_root, major(udev->devt), minor(udev->devt));
udev->tmp_node[sizeof(udev->tmp_node)-1] = '\0';
- udev_make_node(udev, udev->tmp_node, udev->devt, 0600, 0, 0);
+ udev_node_mknod(udev, udev->tmp_node, udev->devt, 0600, 0, 0);
}
strlcat(string, udev->tmp_node, maxsize);
dbg("substitute temporary device node name '%s'", udev->tmp_node);