mirror of
https://github.com/coreutils/coreutils.git
synced 2024-11-28 04:24:45 +08:00
maint: avoid double semicolon syntax check failure
A syntax-check recently added to gnulib would trigger a failure (once gnulib gets updated here) for a statement introduced with commit v8.23-43-gaf2a4ed: src/dd.c:806: char const *time_fmt = _(", %g s, %s/s\n");; maint.mk: Double semicolon detected make: *** [sc_prohibit_double_semicolon] Error 1 * src/dd.c (print_xfer_stats): s/;;/;/
This commit is contained in:
parent
af2a4ed225
commit
4f87ca916c
2
src/dd.c
2
src/dd.c
@ -803,7 +803,7 @@ print_xfer_stats (xtime_t progress_time) {
|
||||
but that was incorrect for languages like Polish. To fix this
|
||||
bug we now use SI symbols even though they're a bit more
|
||||
confusing in English. */
|
||||
char const *time_fmt = _(", %g s, %s/s\n");;
|
||||
char const *time_fmt = _(", %g s, %s/s\n");
|
||||
if (progress_time)
|
||||
time_fmt = _(", %.6f s, %s/s"); /* OK with '\r' as increasing width. */
|
||||
fprintf (stderr, time_fmt, delta_s, bytes_per_second);
|
||||
|
Loading…
Reference in New Issue
Block a user