From 31eeead93842c6581e0a9b21f6e8eb964d0c9309 Mon Sep 17 00:00:00 2001 From: Jérémy Compostella Date: Sun, 5 Feb 2012 17:53:55 +0100 Subject: maint: add braces as requested by HACKING coding standard * src/dd.c (dd_copy): Braces were missing for this do/while statement. --- src/dd.c | 14 ++++++++------ 1 file 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); } } -- cgit v1.2.3-70-g09d2