diff options
Diffstat (limited to 'util-linux')
| -rw-r--r-- | util-linux/mdev.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util-linux/mdev.c b/util-linux/mdev.c index a18fc0916..2bb022476 100644 --- a/util-linux/mdev.c +++ b/util-linux/mdev.c | |||
| @@ -209,7 +209,7 @@ static void make_device(char *path, int delete) | |||
| 209 | } else | 209 | } else |
| 210 | dest = alias; | 210 | dest = alias; |
| 211 | 211 | ||
| 212 | rename(device_name, dest); | 212 | rename(device_name, dest); // TODO: xrename? |
| 213 | symlink(dest, device_name); | 213 | symlink(dest, device_name); |
| 214 | 214 | ||
| 215 | if (alias != dest) | 215 | if (alias != dest) |
