diff options
author | Jérémy Compostella <jeremy.compostella@gmail.com> | 2012-02-05 17:53:55 +0100 |
---|---|---|
committer | Pádraig Brady <P@draigBrady.com> | 2012-02-06 01:34:20 +0000 |
commit | 31eeead93842c6581e0a9b21f6e8eb964d0c9309 (patch) | |
tree | 096ef1b7af3a8ead1c4bb1ba5b54965524b447ce /src | |
parent | 02551d8a62d84b8788a8793de121c2f1e5212d63 (diff) | |
download | coreutils-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.c | 14 |
1 files changed, 8 insertions, 6 deletions
@@ -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); } } |