X-Git-Url: https://www.fleuret.org/cgi-bin/gitweb/gitweb.cgi?p=finddup.git;a=blobdiff_plain;f=finddup.c;h=514a67644c153d7f9ab7bab54e01f4d4b2b270aa;hp=cfef6be5c005a2f4203185c2b7cfe31e710ebdab;hb=776548b8b43cfaf709d8f501ebb697c16e8d7832;hpb=8f5d2ea79d687c9353e4ab803a8069c22275f1db diff --git a/finddup.c b/finddup.c index cfef6be..514a676 100644 --- a/finddup.c +++ b/finddup.c @@ -23,7 +23,7 @@ * */ -#define VERSION_NUMBER "0.5" +#define VERSION_NUMBER "0.6" #define _BSD_SOURCE @@ -169,14 +169,14 @@ int same_content(struct file_with_size *f1, struct file_with_size *f2) { if(fd1 < 0) { fprintf(stderr, - "Can not open `%s' error: %s\n", + "Can not open \"%s\" error: %s\n", f1->filename, strerror(errno)); } if(fd2 < 0) { fprintf(stderr, - "Can not open `%s' error: %s\n", + "Can not open \"%s\" error: %s\n", f2->filename, strerror(errno)); } @@ -278,7 +278,7 @@ void start(const char *dirname1, const char *dirname2) { if(same_dir) { list2 = list1; } else { - fprintf(stderr, " %s ... ", dirname2); + fprintf(stderr, "%s ... ", dirname2); list2 = scan_directory(0, dirname2); } fprintf(stderr, "done.\n");