]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
maint: avoid a syntax-check failure
authorPádraig Brady <P@draigBrady.com>
Thu, 3 Aug 2017 03:20:22 +0000 (20:20 -0700)
committerPádraig Brady <P@draigBrady.com>
Thu, 3 Aug 2017 03:21:20 +0000 (20:21 -0700)
* src/shred.c (wipename): As per the comment, the arguments
to error() are sufficiently quoted, so split the call over
multiple lines to avoid the syntax-check.

src/shred.c

index 47cfc261833bdd69a5585c7479a19a066723a8ff..1b3ed4cd85e8237564c9645c7342ebc5f987b5c2 100644 (file)
@@ -1112,7 +1112,8 @@ wipename (char *oldname, char const *qoldname, struct Options const *flags)
                    quoting because we picked it.  OLDNAME needs to be
                    quoted only the first time.  */
                 char const *old = first ? qoldname : oldname;
-                error (0, 0, _("%s: renamed to %s"), old, newname);
+                error (0, 0,
+                       _("%s: renamed to %s"), old, newname);
                 first = false;
               }
             memcpy (oldname + (base - newname), base, len + 1);