diff options
-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 a4d6dfd..bf07aeb 100644 --- a/util-linux/mdev.c +++ b/util-linux/mdev.c @@ -273,7 +273,7 @@ static void make_device(char *path, int delete) /* move the device, and optionally * make a symlink to moved device node */ - if (rename(device_name, alias) == 0 && aliaslink == '>') + if (rename(device_name, alias) == 0 && aliaslink == '>') symlink(alias, device_name); free(alias); |