summaryrefslogtreecommitdiffhomepage
path: root/util-linux/mdev.c
diff options
context:
space:
mode:
Diffstat (limited to 'util-linux/mdev.c')
-rw-r--r--util-linux/mdev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util-linux/mdev.c b/util-linux/mdev.c
index a4d6dfdf9..bf07aebb3 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);