From 81a05b32f7c31d8aaf9c06ed6b54774c58b67067 Mon Sep 17 00:00:00 2001 From: =?utf8?q?P=C3=A1draig=20Brady?=
Date: Wed, 2 Aug 2017 20:20:22 -0700 Subject: [PATCH] maint: avoid a syntax-check failure * 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 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/shred.c b/src/shred.c index 47cfc26183..1b3ed4cd85 100644 --- a/src/shred.c +++ b/src/shred.c @@ -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); -- 2.47.2