From 6b9f1633537e2ff06eb1a0741e4598a294f40fcb Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Thu, 28 Jan 2010 02:24:24 +0100 Subject: *: style fixes. no code changes (verified with objdump) Signed-off-by: Denys Vlasenko --- coreutils/dd.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'coreutils/dd.c') 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 { -- cgit v1.2.3