mirror of
https://github.com/MidnightCommander/mc
synced 2025-01-03 18:14:25 +03:00
(tar_fill_stat): initialize st->st_dev.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
parent
19c4158152
commit
91105137f7
@ -401,6 +401,7 @@ tar_fill_stat (struct vfs_s_super *archive, struct stat *st, union record *heade
|
||||
else
|
||||
st->st_mode |= S_IFREG;
|
||||
|
||||
st->st_dev = 0;
|
||||
st->st_rdev = 0;
|
||||
switch (arch->type)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user