aboutsummaryrefslogtreecommitdiff
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)
273 273
274 /* move the device, and optionally 274 /* move the device, and optionally
275 * make a symlink to moved device node */ 275 * make a symlink to moved device node */
276 if (rename(device_name, alias) == 0 && aliaslink == '>') 276 if (rename(device_name, alias) == 0 && aliaslink == '>')
277 symlink(alias, device_name); 277 symlink(alias, device_name);
278 278
279 free(alias); 279 free(alias);