diff options
| author | Denys Vlasenko <vda.linux@googlemail.com> | 2010-01-28 02:24:24 +0100 |
|---|---|---|
| committer | Denys Vlasenko <vda.linux@googlemail.com> | 2010-01-28 02:24:24 +0100 |
| commit | 6b9f1633537e2ff06eb1a0741e4598a294f40fcb (patch) | |
| tree | a13f4f3558c2988bc95b5a59c9996da64a0bd570 /coreutils | |
| parent | 17323a6245597f16321e6bf99536ae9bb89c79cf (diff) | |
| download | busybox-w32-6b9f1633537e2ff06eb1a0741e4598a294f40fcb.tar.gz busybox-w32-6b9f1633537e2ff06eb1a0741e4598a294f40fcb.tar.bz2 busybox-w32-6b9f1633537e2ff06eb1a0741e4598a294f40fcb.zip | |
*: style fixes. no code changes (verified with objdump)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'coreutils')
| -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) | |||
| 301 | if (ftruncate(ofd, seek * obs) < 0) { | 301 | if (ftruncate(ofd, seek * obs) < 0) { |
| 302 | struct stat st; | 302 | struct stat st; |
| 303 | 303 | ||
| 304 | if (fstat(ofd, &st) < 0 || S_ISREG(st.st_mode) || | 304 | if (fstat(ofd, &st) < 0 |
| 305 | S_ISDIR(st.st_mode)) | 305 | || S_ISREG(st.st_mode) |
| 306 | || S_ISDIR(st.st_mode) | ||
| 307 | ) { | ||
| 306 | goto die_outfile; | 308 | goto die_outfile; |
| 309 | } | ||
| 307 | } | 310 | } |
| 308 | } | 311 | } |
| 309 | } else { | 312 | } else { |
