diff options
author | Jun-ichiro itojun Hagino <itojun@cvs.openbsd.org> | 2001-02-07 18:01:19 +0000 |
---|---|---|
committer | Jun-ichiro itojun Hagino <itojun@cvs.openbsd.org> | 2001-02-07 18:01:19 +0000 |
commit | e6381dac98d1460c69e3a7ad54051f93d71fa4c5 (patch) | |
tree | c34fbdaf6eec635560c782fccf115f40b4dd7243 /usr.bin/ssh/sftp-server.c | |
parent | 22d20abb1aad051e1820fc2fe513548456c71b89 (diff) |
unsigned long long -> %llu, not %qu. markus ok
Diffstat (limited to 'usr.bin/ssh/sftp-server.c')
-rw-r--r-- | usr.bin/ssh/sftp-server.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/usr.bin/ssh/sftp-server.c b/usr.bin/ssh/sftp-server.c index 29d96150c2b..547199c0f6b 100644 --- a/usr.bin/ssh/sftp-server.c +++ b/usr.bin/ssh/sftp-server.c @@ -22,7 +22,7 @@ * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ #include "includes.h" -RCSID("$OpenBSD: sftp-server.c,v 1.18 2001/02/04 22:21:19 stevesk Exp $"); +RCSID("$OpenBSD: sftp-server.c,v 1.19 2001/02/07 18:01:18 itojun Exp $"); #include "buffer.h" #include "bufaux.h" @@ -395,7 +395,7 @@ process_read(void) off = get_int64(); len = get_int(); - TRACE("read id %d handle %d off %qd len %d", id, handle, + TRACE("read id %d handle %d off %llu len %d", id, handle, (unsigned long long)off, len); if (len > sizeof buf) { len = sizeof buf; @@ -436,7 +436,7 @@ process_write(void) off = get_int64(); data = get_string(&len); - TRACE("write id %d handle %d off %qd len %d", id, handle, + 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) { @@ -664,8 +664,8 @@ ls_file(char *name, struct stat *st) } if (sz == 0) tbuf[0] = '\0'; - snprintf(buf, sizeof buf, "%s %3d %-8.8s %-8.8s %8qd %s %s", mode, - st->st_nlink, user, group, (long long)st->st_size, tbuf, name); + snprintf(buf, sizeof buf, "%s %3d %-8.8s %-8.8s %8llu %s %s", mode, + st->st_nlink, user, group, (unsigned long long)st->st_size, tbuf, name); return xstrdup(buf); } |