summaryrefslogtreecommitdiff
path: root/src/copy.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/copy.c')
-rw-r--r--src/copy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/copy.c b/src/copy.c
index 392a45064..2ccba222a 100644
--- a/src/copy.c
+++ b/src/copy.c
@@ -1306,7 +1306,7 @@ copy_internal (const char *src_path, const char *dst_path,
/* Insert the current directory in the list of parents. */
- dir = alloca (sizeof (struct dir_list));
+ dir = alloca (sizeof *dir);
dir->parent = ancestors;
dir->ino = src_sb.st_ino;
dir->dev = src_sb.st_dev;