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 9d77f6a1f..9d37b6c90 100644
--- a/util-linux/mdev.c
+++ b/util-linux/mdev.c
@@ -171,7 +171,7 @@ static void make_device(char *path, int delete)
s = val;
while (*s && *s++ == '%')
n++;
-
+
p = alias = xzalloc(strlen(val) + n * strlen(device_name));
s = val + 1;
while (*s) {