summaryrefslogtreecommitdiff
path: root/udev-remove.c
diff options
context:
space:
mode:
Diffstat (limited to 'udev-remove.c')
-rw-r--r--udev-remove.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/udev-remove.c b/udev-remove.c
index c61a948fa0..666928f318 100644
--- a/udev-remove.c
+++ b/udev-remove.c
@@ -70,7 +70,7 @@ static int delete_node(char *name)
{
char filename[255];
- strncpy(filename, UDEV_ROOT, sizeof(filename));
+ strncpy(filename, udev_root, sizeof(filename));
strncat(filename, name, sizeof(filename));
dbg("unlinking %s", filename);