diff options
author | Damien Miller <djm@cvs.openbsd.org> | 2008-06-07 21:52:47 +0000 |
---|---|---|
committer | Damien Miller <djm@cvs.openbsd.org> | 2008-06-07 21:52:47 +0000 |
commit | 1ce9b7ba2e7a3d4545b02585c6b847fb75d1c740 (patch) | |
tree | b215d601d457c9c7c7bc79fb3704c3ffb2c39460 /usr.bin/ssh/sftp-server.c | |
parent | b5f86686db014965d088bc62907e49a2e136b0ea (diff) |
statvfs member fsid needs to be wider, increase it to 64 bits and
crank extension revision number to 2; prodded and ok dtucker@
Diffstat (limited to 'usr.bin/ssh/sftp-server.c')
-rw-r--r-- | usr.bin/ssh/sftp-server.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/ssh/sftp-server.c b/usr.bin/ssh/sftp-server.c index 39e72376240..b68db4347c4 100644 --- a/usr.bin/ssh/sftp-server.c +++ b/usr.bin/ssh/sftp-server.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sftp-server.c,v 1.80 2008/05/18 21:29:05 djm Exp $ */ +/* $OpenBSD: sftp-server.c,v 1.81 2008/06/07 21:52:46 djm Exp $ */ /* * Copyright (c) 2000-2004 Markus Friedl. All rights reserved. * @@ -492,7 +492,7 @@ send_statvfs(u_int32_t id, struct statvfs *st) buffer_put_int64(&msg, st->f_files); buffer_put_int64(&msg, st->f_ffree); buffer_put_int64(&msg, st->f_favail); - buffer_put_int(&msg, st->f_fsid); + buffer_put_int64(&msg, st->f_fsid); buffer_put_int(&msg, flag); buffer_put_int(&msg, st->f_namemax); send_msg(&msg); @@ -516,10 +516,10 @@ process_init(void) buffer_put_cstring(&msg, "1"); /* version */ /* statvfs extension */ buffer_put_cstring(&msg, "statvfs@openssh.com"); - buffer_put_cstring(&msg, "1"); /* version */ + buffer_put_cstring(&msg, "2"); /* version */ /* fstatvfs extension */ buffer_put_cstring(&msg, "fstatvfs@openssh.com"); - buffer_put_cstring(&msg, "1"); /* version */ + buffer_put_cstring(&msg, "2"); /* version */ send_msg(&msg); buffer_free(&msg); } |