hexdump: Don't use uninitialized struct stat.
This commit is contained in:
parent
8777a4e32f
commit
9038472054
@ -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