*: style fixes. no code changes (verified with objdump)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
@ -301,9 +301,12 @@ int dd_main(int argc UNUSED_PARAM, char **argv)
|
||||
if (ftruncate(ofd, seek * obs) < 0) {
|
||||
struct stat st;
|
||||
|
||||
if (fstat(ofd, &st) < 0 || S_ISREG(st.st_mode) ||
|
||||
S_ISDIR(st.st_mode))
|
||||
if (fstat(ofd, &st) < 0
|
||||
|| S_ISREG(st.st_mode)
|
||||
|| S_ISDIR(st.st_mode)
|
||||
) {
|
||||
goto die_outfile;
|
||||
}
|
||||
}
|
||||
}
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user