summaryrefslogtreecommitdiff
path: root/progressmeter.c
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2004-05-13 16:39:33 +1000
committerDarren Tucker <dtucker@zip.com.au>2004-05-13 16:39:33 +1000
commit1f8311c836a20ce4923e2142d206f8d8073d0ca4 (patch)
tree93c92ccf9709d18faa075fb2b3c5fda4d969b28a /progressmeter.c
parentb42714e28bcb22c5b52b0266813165cf5e7e9ccb (diff)
- deraadt@cvs.openbsd.org 2004/05/11 19:01:43
[auth.c auth2-none.c authfile.c channels.c monitor.c monitor_mm.c packet.c packet.h progressmeter.c session.c openbsd-compat/xmmap.c] improve some code lint did not like; djm millert ok
Diffstat (limited to 'progressmeter.c')
-rw-r--r--progressmeter.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/progressmeter.c b/progressmeter.c
index f42668526..e74f4785f 100644
--- a/progressmeter.c
+++ b/progressmeter.c
@@ -23,7 +23,7 @@
23 */ 23 */
24 24
25#include "includes.h" 25#include "includes.h"
26RCSID("$OpenBSD: progressmeter.c,v 1.19 2004/02/05 15:33:33 markus Exp $"); 26RCSID("$OpenBSD: progressmeter.c,v 1.20 2004/05/11 19:01:43 deraadt Exp $");
27 27
28#include "progressmeter.h" 28#include "progressmeter.h"
29#include "atomicio.h" 29#include "atomicio.h"
@@ -167,7 +167,7 @@ refresh_progress_meter(void)
167 167
168 /* bandwidth usage */ 168 /* bandwidth usage */
169 format_rate(buf + strlen(buf), win_size - strlen(buf), 169 format_rate(buf + strlen(buf), win_size - strlen(buf),
170 bytes_per_second); 170 (off_t)bytes_per_second);
171 strlcat(buf, "/s ", win_size); 171 strlcat(buf, "/s ", win_size);
172 172
173 /* ETA */ 173 /* ETA */