diff options
Diffstat (limited to 'util-linux/mdev.c')
-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 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) | |||
171 | s = val; | 171 | s = val; |
172 | while (*s && *s++ == '%') | 172 | while (*s && *s++ == '%') |
173 | n++; | 173 | n++; |
174 | 174 | ||
175 | p = alias = xzalloc(strlen(val) + n * strlen(device_name)); | 175 | p = alias = xzalloc(strlen(val) + n * strlen(device_name)); |
176 | s = val + 1; | 176 | s = val + 1; |
177 | while (*s) { | 177 | while (*s) { |