MFC r282041: hexdump: Don't use uninitialized struct stat.
PR: 196194
This commit is contained in:
parent
f5cf32d13f
commit
64ba14eeb3
@ -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…
x
Reference in New Issue
Block a user