summaryrefslogtreecommitdiff
path: root/usr.bin/ssh/sftp-common.c
diff options
context:
space:
mode:
authorJun-ichiro itojun Hagino <itojun@cvs.openbsd.org>2002-10-16 14:31:49 +0000
committerJun-ichiro itojun Hagino <itojun@cvs.openbsd.org>2002-10-16 14:31:49 +0000
commit8505c5d3fc8d55c261e1e15ce3fe3cac173c38a3 (patch)
treed24073c3516b054531798a69425e1d4bd3f00804 /usr.bin/ssh/sftp-common.c
parent0da2b0357d54e3f5e1bd8a87842afeb8594e15cf (diff)
64bit pedant. %llu is "unsigned long long". markus ok
Diffstat (limited to 'usr.bin/ssh/sftp-common.c')
-rw-r--r--usr.bin/ssh/sftp-common.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ssh/sftp-common.c b/usr.bin/ssh/sftp-common.c
index 082345486b4..31d41385bbd 100644
--- a/usr.bin/ssh/sftp-common.c
+++ b/usr.bin/ssh/sftp-common.c
@@ -24,7 +24,7 @@
*/
#include "includes.h"
-RCSID("$OpenBSD: sftp-common.c,v 1.7 2002/09/11 22:41:50 djm Exp $");
+RCSID("$OpenBSD: sftp-common.c,v 1.8 2002/10/16 14:31:48 itojun Exp $");
#include "buffer.h"
#include "bufaux.h"
@@ -208,6 +208,6 @@ ls_file(char *name, struct stat *st, int remote)
glen = MAX(strlen(group), 8);
snprintf(buf, sizeof buf, "%s %3d %-*s %-*s %8llu %s %s", mode,
st->st_nlink, ulen, user, glen, group,
- (u_int64_t)st->st_size, tbuf, name);
+ (unsigned long long)st->st_size, tbuf, name);
return xstrdup(buf);
}