summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBen Lindstrom <mouring@eviladmin.org>2001-02-11 00:00:22 +0100
committerBen Lindstrom <mouring@eviladmin.org>2001-02-11 00:00:22 +0100
commit7e9aff55bcf6c6f45dd8e2afd6c7d59a47ebe1d2 (patch)
tree7f7b80d8261e6cf5f6ff8167fac33b8ca83107ef
parentCVS Sync with OpenBSD (diff)
downloadopenssh-7e9aff55bcf6c6f45dd8e2afd6c7d59a47ebe1d2.tar.xz
openssh-7e9aff55bcf6c6f45dd8e2afd6c7d59a47ebe1d2.zip
- (bal) sftp-sever.c '%8lld' to '%8llu' (OpenBSD Sync)
-rw-r--r--ChangeLog3
-rw-r--r--sftp-server.c2
2 files changed, 3 insertions, 2 deletions
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);
}