summaryrefslogtreecommitdiff
path: root/sftp-common.c
diff options
context:
space:
mode:
authorBen Lindstrom <mouring@eviladmin.org>2002-11-09 15:40:34 +0000
committerBen Lindstrom <mouring@eviladmin.org>2002-11-09 15:40:34 +0000
commit0851381bf7d4ce9a16399b216621edf7476ead05 (patch)
treead615d5258e3bf1cb13d6b071e7d7c938b830d2c /sftp-common.c
parent885929cd315b8e0bde419eab3a09523378972d68 (diff)
- itojun@cvs.openbsd.org 2002/10/16 14:31:48
[sftp-common.c] 64bit pedant. %llu is "unsigned long long". markus ok
Diffstat (limited to 'sftp-common.c')
-rw-r--r--sftp-common.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sftp-common.c b/sftp-common.c
index 082345486..31d41385b 100644
--- a/sftp-common.c
+++ b/sftp-common.c
@@ -24,7 +24,7 @@
24 */ 24 */
25 25
26#include "includes.h" 26#include "includes.h"
27RCSID("$OpenBSD: sftp-common.c,v 1.7 2002/09/11 22:41:50 djm Exp $"); 27RCSID("$OpenBSD: sftp-common.c,v 1.8 2002/10/16 14:31:48 itojun Exp $");
28 28
29#include "buffer.h" 29#include "buffer.h"
30#include "bufaux.h" 30#include "bufaux.h"
@@ -208,6 +208,6 @@ ls_file(char *name, struct stat *st, int remote)
208 glen = MAX(strlen(group), 8); 208 glen = MAX(strlen(group), 8);
209 snprintf(buf, sizeof buf, "%s %3d %-*s %-*s %8llu %s %s", mode, 209 snprintf(buf, sizeof buf, "%s %3d %-*s %-*s %8llu %s %s", mode,
210 st->st_nlink, ulen, user, glen, group, 210 st->st_nlink, ulen, user, glen, group,
211 (u_int64_t)st->st_size, tbuf, name); 211 (unsigned long long)st->st_size, tbuf, name);
212 return xstrdup(buf); 212 return xstrdup(buf);
213} 213}