From f0d6fc100df2b424bdb2ee7830df33798d1921e6 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Sun, 14 Sep 2003 15:51:12 +0000 Subject: [PATCH] Fix cosmetic progress-message bug introduced by last fix. --- main.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/main.c b/main.c index bc6d6f2..d620f61 100644 --- a/main.c +++ b/main.c @@ -132,7 +132,7 @@ static void write_scf(const char *tree, FILE *ofp) netfile_count = htonl(file_count); fwrite(&netfile_count, sizeof(linecount_t), 1, ofp); - fprintf(stderr, "%% Reading %s... ", tree); + fprintf(stderr, "%% Reading tree %s... ", tree); progress = totalchunks = 0; for (place = list; place < list + file_count; place++) { @@ -208,7 +208,7 @@ static void read_scf(struct scf_t *scf) struct stat sb; stat(scf->name, &sb); - fprintf(stderr, "%% Reading hash list %s... ", scf->name); + fprintf(stderr, "%% Reading hash list %s... ", scf->name); fread(&filecount, sizeof(linecount_t), 1, scf->fp); filecount = ntohl(filecount); while (filecount--) @@ -265,7 +265,7 @@ static int merge_tree(char *tree) exit(1); } i = 0; - fprintf(stderr, "reading... "); + fprintf(stderr, "reading... "); for (place = list; place < list + file_count; place++) { struct filehdr_t *filep = register_file(*place, 0); -- 2.43.0