Commit 49f9bede authored by's avatar Committed by Greg KH
Browse files

[PATCH] udev - correct relative symlink

Here we remove the useless leading "./" of the linktargets.
Thanks to Olaf Hering <>, who asked why we do this :)

We have now:

  |-- camera0 -> video0
  |-- kamera0 -> video0
  `-- video0
parent 8481f8ce
......@@ -251,8 +251,6 @@ static int create_node(struct udevice *dev, int fake)
if (linktarget[0] == '\0')
strfieldcpy(linktarget, "./");
strfieldcat(linktarget, &dev->name[tail]);
/* unlink existing files to ensure that our symlink is created */
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment