X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Ftar;a=blobdiff_plain;f=src%2Fbuffer.c;h=648b6baa4180d00fa113e7eb2019c91da4ff943b;hp=0f5c76e7c5238c068faa41fefcdeaf4abe7f6607;hb=717a07e208ced8ab10c59e70eada67c1a2e8afa2;hpb=f0a1f78196f75678424712ac36f0a4a46e3e5658 diff --git a/src/buffer.c b/src/buffer.c index 0f5c76e..648b6ba 100644 --- a/src/buffer.c +++ b/src/buffer.c @@ -514,7 +514,7 @@ print_stats (FILE *fp, const char *text, tarlong numbytes) from the archive), EOL is a delimiter to add at the end of the output line. */ int -format_total_stats (FILE *fp, char **formats, int eor, int eol) +format_total_stats (FILE *fp, const char **formats, int eor, int eol) { int n; @@ -569,7 +569,7 @@ format_total_stats (FILE *fp, char **formats, int eor, int eol) return n; } -char *default_total_format[] = { +const char *default_total_format[] = { N_("Total bytes read"), /* Amanda 2.4.1p1 looks for "Total bytes written: [0-9][0-9]*". */ N_("Total bytes written"),