Draft release notes to 1.8.0
[gitweb.git] / diff.c
diff --git a/diff.c b/diff.c
index f1b044780ffb0e590f8dd1d609ae2b2c3b54b473..e6846ca7507aa8a423c5e1f89390fa37723248ff 100644 (file)
--- a/diff.c
+++ b/diff.c
@@ -1398,7 +1398,7 @@ int print_stat_summary(FILE *fp, int files, int insertions, int deletions)
 
        if (!files) {
                assert(insertions == 0 && deletions == 0);
-               return fputs(_(" 0 files changed\n"), fp);
+               return fprintf(fp, "%s\n", _(" 0 files changed"));
        }
 
        strbuf_addf(&sb,