ed: Don't show size of files in no diagnosistic mode

-s flag disables such warnings.
This commit is contained in:
Roberto E. Vargas Caballero 2016-01-01 11:17:03 +01:00 committed by sin
parent b19d708923
commit c5e28b5fe9
1 changed files with 2 additions and 1 deletions

1
ed.c
View File

@ -623,6 +623,7 @@ doread(char *fname)
}
inject(s);
}
if (optdiag)
printf("%zu\n", cnt);
aux = fp;