summaryrefslogtreecommitdiff
path: root/src/split.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2005-06-16 21:33:43 +0000
committerJim Meyering <jim@meyering.net>2005-06-16 21:33:43 +0000
commit3787d01a51c110a513e9b6fafa6c5c641399f2ce (patch)
treec49427a07fa046ae09d5f9fcef4c8c6b1ffb0f7f /src/split.c
parent0441b743b0e89b12900f9085600846d2e5d0ceaf (diff)
downloadcoreutils-3787d01a51c110a513e9b6fafa6c5c641399f2ce.tar.xz
Don't embed `this'-style quotes in format strings.
Rather than this: error (..., "...`%s'...", arg); do this: error (..., "...%s...", quote (arg));
Diffstat (limited to 'src/split.c')
-rw-r--r--src/split.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/split.c b/src/split.c
index 631fd0430..95cb05cbd 100644
--- a/src/split.c
+++ b/src/split.c
@@ -211,7 +211,7 @@ cwrite (bool new_file_flag, const char *bp, size_t bytes)
next_file_name ();
if (verbose)
- fprintf (stderr, _("creating file `%s'\n"), outfile);
+ fprintf (stderr, _("creating file %s\n"), quote (outfile));
output_desc = fd_safer (open (outfile,
O_WRONLY | O_CREAT | O_TRUNC | O_BINARY,
(S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP