mirror of
https://git.FreeBSD.org/src.git
synced 2024-10-19 02:29:40 +00:00
hexdump: Don't use uninitialized struct stat.
This commit is contained in:
parent
a5e0fa4063
commit
c321006086
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=282041
@ -380,7 +380,7 @@ doskip(const char *fname, int statok)
|
||||
return;
|
||||
}
|
||||
}
|
||||
if (S_ISREG(sb.st_mode)) {
|
||||
if (statok && S_ISREG(sb.st_mode)) {
|
||||
if (fseeko(stdin, skip, SEEK_SET))
|
||||
err(1, "%s", fname);
|
||||
address += skip;
|
||||
|
Loading…
Reference in New Issue
Block a user