diff options
-rw-r--r-- | lib/mkdir-p.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mkdir-p.c b/lib/mkdir-p.c index 97775eb55..962f452bd 100644 --- a/lib/mkdir-p.c +++ b/lib/mkdir-p.c @@ -207,7 +207,7 @@ make_dir_parents (char const *arg, if (re_protect) { struct ptr_list *new = (struct ptr_list *) - alloca (sizeof (struct ptr_list)); + alloca (sizeof *new); new->dirname_end = slash; new->next = leading_dirs; leading_dirs = new; |