Minor fix
* src/list.c (transform_stat_info): Modify argument pointer, not the global variable.
This commit is contained in:
@@ -159,7 +159,7 @@ transform_stat_info (char typeflag, struct tar_stat_info *stat_info)
|
||||
}
|
||||
|
||||
if (one_top_level_option)
|
||||
enforce_one_top_level (¤t_stat_info.file_name);
|
||||
enforce_one_top_level (&stat_info->file_name);
|
||||
}
|
||||
|
||||
/* Main loop for reading an archive. */
|
||||
|
||||
Reference in New Issue
Block a user