]> andersk Git - openssh.git/blobdiff - sftp-server.c
- deraadt@cvs.openbsd.org 2001/02/04 08:23:08
[openssh.git] / sftp-server.c
index ade2663e7cbdc03c32d5c678d8c26858eb2c4963..dd1b43c5112026abbd420928d5dc95885154d593 100644 (file)
@@ -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) {
This page took 0.138079 seconds and 4 git commands to generate.