1 diff -u -r ../openssh-6.5p1/sftp-server.c ./sftp-server.c
2 --- ../openssh-6.5p1/sftp-server.c 2014-01-19 05:25:35.000000000 +0100
3 +++ ./sftp-server.c 2014-02-11 11:06:33.000000000 +0100
5 debug3("request %u: statvfs", id);
6 logit("statvfs \"%s\"", path);
8 - if (statvfs(path, &st) != 0)
9 + if (statfs(path, &st) != 0)
10 send_status(id, errno_to_portable(errno));
12 send_statvfs(id, &st);
14 send_status(id, SSH2_FX_FAILURE);
17 - if (fstatvfs(fd, &st) != 0)
18 + if (fstat(fd, &st) != 0)
19 send_status(id, errno_to_portable(errno));
21 send_statvfs(id, &st);