diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2010-01-28 04:24:24 +0300 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2010-01-28 04:24:24 +0300 |
commit | 6b9f1633537e2ff06eb1a0741e4598a294f40fcb (patch) | |
tree | a13f4f3558c2988bc95b5a59c9996da64a0bd570 /coreutils/dd.c | |
parent | 17323a6245597f16321e6bf99536ae9bb89c79cf (diff) |
*: style fixes. no code changes (verified with objdump)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'coreutils/dd.c')
-rw-r--r-- | coreutils/dd.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/coreutils/dd.c b/coreutils/dd.c index f1e63fd8b..8173d403d 100644 --- a/coreutils/dd.c +++ b/coreutils/dd.c @@ -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 { |