diff options
author | dtucker <dtucker> | 2008-06-08 20:17:53 +0000 |
---|---|---|
committer | dtucker <dtucker> | 2008-06-08 20:17:53 +0000 |
commit | f7157a59be98759fe706a34394c2808af6bc8f9c (patch) | |
tree | 2da76d02d5209d8add9d74ebd4a16042be5697b9 /sftp-server.c | |
parent | 2d0497c0822c25d2c29296a7263a510a3f450b52 (diff) | |
download | openssh-f7157a59be98759fe706a34394c2808af6bc8f9c.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); |