From: Sergey Poznyakoff Date: Tue, 6 May 2025 06:39:38 +0000 (+0300) Subject: Minor fix X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=bfc33463942060316f70f275471ed202b0076972;p=thirdparty%2Ftar.git Minor fix * src/list.c (transform_stat_info): Modify argument pointer, not the global variable. --- diff --git a/src/list.c b/src/list.c index c7b8cc19..68ee3576 100644 --- a/src/list.c +++ b/src/list.c @@ -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. */