commit 65888c38d15644619b08fcadbc995bd0d4ad434a parent 2e5543150957073a873235533caa488831a2be16 Author: phoebos <ben@bvnf.space> Date: Thu, 23 Sep 2021 22:41:16 +0100 ed: make write_buf respect -s Diffstat:
M | ed.c | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ed.c b/ed.c @@ -146,7 +146,7 @@ write_buf(char *path) { } total += n; } - printf("%ld\n", total); + print_byte_counts(total); if (close(fd) == -1) { fprintf(stderr, "ed: %s: %s\n", path, strerror(errno)); return 1;