aboutsummaryrefslogtreecommitdiff
path: root/crypto
diff options
context:
space:
mode:
authorDag-Erling Smørgrav <des@FreeBSD.org>2004-01-09 12:57:36 +0000
committerDag-Erling Smørgrav <des@FreeBSD.org>2004-01-09 12:57:36 +0000
commit002696701b39a951525861c3d0da4984e29e7360 (patch)
tree163c0b91e4fa9eed1dd4279d74897c3b21b76d13 /crypto
parent8cf8104b8ff8c276fb506c0599cee8b50a0af22e (diff)
downloadsrc-002696701b39a951525861c3d0da4984e29e7360.tar.gz
src-002696701b39a951525861c3d0da4984e29e7360.zip
Notes
Diffstat (limited to 'crypto')
-rw-r--r--crypto/openssh/progressmeter.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/openssh/progressmeter.c b/crypto/openssh/progressmeter.c
index c315464ee73a..6afcca43e34a 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;
}