summaryrefslogtreecommitdiffstats
path: root/usr.bin/ssh/scp.c
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2001-02-04 23:56:22 +0000
committerderaadt <deraadt@openbsd.org>2001-02-04 23:56:22 +0000
commit8f491fea6bdcdf1b6e7c7900c7a04d6e9d6c08c6 (patch)
tree3dca7881af145ae62fa0b2efe2b9b28a9f82be9c /usr.bin/ssh/scp.c
parentsort commands, so that abbreviations work as expected (diff)
downloadwireguard-openbsd-8f491fea6bdcdf1b6e7c7900c7a04d6e9d6c08c6.tar.xz
wireguard-openbsd-8f491fea6bdcdf1b6e7c7900c7a04d6e9d6c08c6.zip
alpha happiness
Diffstat (limited to 'usr.bin/ssh/scp.c')
-rw-r--r--usr.bin/ssh/scp.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.bin/ssh/scp.c b/usr.bin/ssh/scp.c
index 7a7fbb2a83c..cfb355745a4 100644
--- a/usr.bin/ssh/scp.c
+++ b/usr.bin/ssh/scp.c
@@ -75,7 +75,7 @@
*/
#include "includes.h"
-RCSID("$OpenBSD: scp.c,v 1.52 2001/02/04 15:32:24 stevesk Exp $");
+RCSID("$OpenBSD: scp.c,v 1.53 2001/02/04 23:56:22 deraadt Exp $");
#include "xmalloc.h"
#include "atomicio.h"
@@ -1132,7 +1132,8 @@ progressmeter(int flag)
abbrevsize >>= 10;
}
snprintf(buf + strlen(buf), sizeof(buf) - strlen(buf), " %5qd %c%c ",
- (quad_t) abbrevsize, prefixes[i], prefixes[i] == ' ' ? ' ' : 'B');
+ (unsigned long long) abbrevsize, prefixes[i],
+ prefixes[i] == ' ' ? ' ' : 'B');
timersub(&now, &lastupdate, &wait);
if (cursize > lastsize) {