diff options
author | des <des@FreeBSD.org> | 2004-01-09 12:57:36 +0000 |
---|---|---|
committer | des <des@FreeBSD.org> | 2004-01-09 12:57:36 +0000 |
commit | 5c8d98dfbd6964b6be84da30b9d16df0cab3c42d (patch) | |
tree | 163c0b91e4fa9eed1dd4279d74897c3b21b76d13 /crypto | |
parent | bd159d8b4f26d85bf4a8a47444be2a9db7b6ce37 (diff) | |
download | FreeBSD-src-5c8d98dfbd6964b6be84da30b9d16df0cab3c42d.zip FreeBSD-src-5c8d98dfbd6964b6be84da30b9d16df0cab3c42d.tar.gz |
Don't output the terminating '\0' (already fixed in OpenSSH CVS)
Diffstat (limited to 'crypto')
-rw-r--r-- | crypto/openssh/progressmeter.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/openssh/progressmeter.c b/crypto/openssh/progressmeter.c index c315464..6afcca4 100644 --- a/crypto/openssh/progressmeter.c +++ b/crypto/openssh/progressmeter.c @@ -200,7 +200,7 @@ refresh_progress_meter(void) strlcat(buf, " ", win_size); } - atomicio(vwrite, STDOUT_FILENO, buf, win_size); + atomicio(vwrite, STDOUT_FILENO, buf, win_size - 1); last_update = now; } |