diff options
author | Darren Tucker <dtucker@zip.com.au> | 2008-06-09 06:17:53 +1000 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2008-06-09 06:17:53 +1000 |
commit | 77001384cc067a4613dd6d7a07b9a786f7d7f1bb (patch) | |
tree | 5f1eb47742ba656c70a291af95f442539e99d104 /sftp-server.c | |
parent | 598eaa6c0c36c3169963c7e6505d53b4073590f5 (diff) | |
download | openssh-git-77001384cc067a4613dd6d7a07b9a786f7d7f1bb.tar.gz |
- (dtucker) [configure.ac defines.h sftp-client.c M sftp-server.c] Add a
macro to convert fsid to unsigned long for platforms where fsid is a
2-member array.
Diffstat (limited to 'sftp-server.c')
-rw-r--r-- | sftp-server.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sftp-server.c b/sftp-server.c index 9c312834..f6992616 100644 --- a/sftp-server.c +++ b/sftp-server.c @@ -501,7 +501,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_int64(&msg, st->f_fsid); + buffer_put_int64(&msg, FSID_TO_ULONG(st->f_fsid)); buffer_put_int(&msg, flag); buffer_put_int(&msg, st->f_namemax); send_msg(&msg); |