diff --git a/ChangeLog b/ChangeLog index d5dcfba1e..5b2de4ee6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +20021109 + - (bal) OpenBSD CVS Sync + - itojun@cvs.openbsd.org 2002/10/16 14:31:48 + [sftp-common.c] + 64bit pedant. %llu is "unsigned long long". markus ok + 20021021 - (djm) Bug #400: Kill ssh-rand-helper children on timeout, patch from dtucker@zip.com.au @@ -774,4 +780,4 @@ save auth method before monitor_reset_key_state(); bugzilla bug #284; ok provos@ -$Id: ChangeLog,v 1.2499 2002/10/21 10:26:16 djm Exp $ +$Id: ChangeLog,v 1.2500 2002/11/09 15:40:34 mouring Exp $ 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 @@ */ #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); }