summaryrefslogtreecommitdiff
path: root/sftp-server.c
diff options
context:
space:
mode:
authorKevin Steves <stevesk@pobox.com>2001-02-05 15:39:22 +0000
committerKevin Steves <stevesk@pobox.com>2001-02-05 15:39:22 +0000
commitec1c1409276d7fbcd43828db19496cab36079c01 (patch)
tree2bad8c4eb711e25b12a9f9bd5f00c2055840426b /sftp-server.c
parente27a5e05b3638737e8c50c24c8e955d38e31e02e (diff)
downloadopenssh-git-ec1c1409276d7fbcd43828db19496cab36079c01.tar.gz
- deraadt@cvs.openbsd.org 2001/02/04 08:23:08
[sftp-client.c sftp-server.c] make gcc on the alpha even happier
Diffstat (limited to 'sftp-server.c')
-rw-r--r--sftp-server.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/sftp-server.c b/sftp-server.c
index ade2663e..dd1b43c5 100644
--- a/sftp-server.c
+++ b/sftp-server.c
@@ -401,7 +401,8 @@ process_read(void)
off = get_int64();
len = get_int();
- TRACE("read id %d handle %d off %lld len %d", id, handle, off, len);
+ TRACE("read id %d handle %d off %llu len %d", id, handle,
+ (unsigned long long)off, len);
if (len > sizeof buf) {
len = sizeof buf;
log("read change len %d", len);
@@ -441,7 +442,8 @@ process_write(void)
off = get_int64();
data = get_string(&len);
- TRACE("write id %d handle %d off %lld len %d", id, handle, off, len);
+ TRACE("write id %d handle %d off %llu len %d", id, handle,
+ (unsigned long long)off, len);
fd = handle_to_fd(handle);
if (fd >= 0) {
if (lseek(fd, off, SEEK_SET) < 0) {