diff options
Diffstat (limited to 'src/cp.c')
-rw-r--r-- | src/cp.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -408,8 +408,7 @@ make_path_private (const char *const_dirpath, int src_offset, int mode, { /* Add this directory to the list of directories whose modes need fixing later. */ - struct dir_attr *new = - xmalloc (sizeof (struct dir_attr)); + struct dir_attr *new = xmalloc (sizeof *new); new->slash_offset = slash - dirpath; new->next = *attr_list; *attr_list = new; |