(tar_fill_stat): initialize st->st_dev.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
Andrew Borodin 2014-04-20 17:17:44 +04:00
parent 19c4158152
commit 91105137f7

View File

@ -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)
{