summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJérémy Compostella <jeremy.compostella@gmail.com>2012-02-05 17:53:55 +0100
committerPádraig Brady <P@draigBrady.com>2012-02-06 01:34:20 +0000
commit31eeead93842c6581e0a9b21f6e8eb964d0c9309 (patch)
tree096ef1b7af3a8ead1c4bb1ba5b54965524b447ce /src
parent02551d8a62d84b8788a8793de121c2f1e5212d63 (diff)
downloadcoreutils-31eeead93842c6581e0a9b21f6e8eb964d0c9309.tar.xz
maint: add braces as requested by HACKING coding standard
* src/dd.c (dd_copy): Braces were missing for this do/while statement.
Diffstat (limited to 'src')
-rw-r--r--src/dd.c14
1 files changed, 8 insertions, 6 deletions
diff --git a/src/dd.c b/src/dd.c
index 2c545c220..9d24791aa 100644
--- a/src/dd.c
+++ b/src/dd.c
@@ -1807,12 +1807,14 @@ dd_copy (void)
memset (obuf, 0, output_blocksize);
do
- if (iwrite (STDOUT_FILENO, obuf, output_blocksize)
- != output_blocksize)
- {
- error (0, errno, _("writing to %s"), quote (output_file));
- quit (EXIT_FAILURE);
- }
+ {
+ if (iwrite (STDOUT_FILENO, obuf, output_blocksize)
+ != output_blocksize)
+ {
+ error (0, errno, _("writing to %s"), quote (output_file));
+ quit (EXIT_FAILURE);
+ }
+ }
while (--write_records != 0);
}
}