diff --git a/ChangeLog b/ChangeLog index 224909bac..55c5dac8d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -61,6 +61,7 @@ - (bal) fixed sftp-client.c. Return 'status' instead of '0' (from the OpenBSD tree) - (bal) Synced ssh.1 and sshd.8 w/ OpenBSD + - (bal) sftp-sever.c '%8lld' to '%8llu' (OpenBSD Sync) 20010210 - (djm) Sync sftp and scp stuff from OpenBSD: @@ -3844,4 +3845,4 @@ - Wrote replacements for strlcpy and mkdtemp - Released 1.0pre1 -$Id: ChangeLog,v 1.728 2001/02/10 22:50:09 mouring Exp $ +$Id: ChangeLog,v 1.729 2001/02/10 23:00:22 mouring Exp $ diff --git a/sftp-server.c b/sftp-server.c index b1ef7bc8f..dc466a1a8 100644 --- a/sftp-server.c +++ b/sftp-server.c @@ -680,7 +680,7 @@ ls_file(char *name, struct stat *st) } if (sz == 0) tbuf[0] = '\0'; - snprintf(buf, sizeof buf, "%s %3d %-8.8s %-8.8s %8lld %s %s", mode, + snprintf(buf, sizeof buf, "%s %3d %-8.8s %-8.8s %8llu %s %s", mode, st->st_nlink, user, group, (long long)st->st_size, tbuf, name); return xstrdup(buf); }