summaryrefslogtreecommitdiffstats
path: root/usr.bin/ssh/scp.c
diff options
context:
space:
mode:
authoritojun <itojun@openbsd.org>2001-02-07 18:01:17 +0000
committeritojun <itojun@openbsd.org>2001-02-07 18:01:17 +0000
commit843c64f0ece182c56b5c5c91099d04f6a9c2f62a (patch)
tree2c4e9a386906dff537a449efead302fabd381f23 /usr.bin/ssh/scp.c
parentfix debug case; from Mike Pechkin <mpech@prosoft.org.lv> (diff)
downloadwireguard-openbsd-843c64f0ece182c56b5c5c91099d04f6a9c2f62a.tar.xz
wireguard-openbsd-843c64f0ece182c56b5c5c91099d04f6a9c2f62a.zip
unsigned long long -> %llu, not %qu. markus ok
Diffstat (limited to 'usr.bin/ssh/scp.c')
-rw-r--r--usr.bin/ssh/scp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ssh/scp.c b/usr.bin/ssh/scp.c
index cfb355745a4..c84c6483342 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.53 2001/02/04 23:56:22 deraadt Exp $");
+RCSID("$OpenBSD: scp.c,v 1.54 2001/02/07 18:01:17 itojun Exp $");
#include "xmalloc.h"
#include "atomicio.h"
@@ -1131,7 +1131,7 @@ progressmeter(int flag)
i++;
abbrevsize >>= 10;
}
- snprintf(buf + strlen(buf), sizeof(buf) - strlen(buf), " %5qd %c%c ",
+ snprintf(buf + strlen(buf), sizeof(buf) - strlen(buf), " %5llu %c%c ",
(unsigned long long) abbrevsize, prefixes[i],
prefixes[i] == ' ' ? ' ' : 'B');