lib/nfs/Connection: use nfs_stat64_async

Since nfs_stat_async is deprecated.
This commit is contained in:
Thomas Guillem
2015-11-13 20:33:56 +01:00
committed by Max Kellermann
parent f2caac595a
commit 9127afbf3f
2 changed files with 10 additions and 10 deletions

View File

@@ -47,9 +47,9 @@ NfsConnection::CancellableCallback::Stat(nfs_context *ctx,
{
assert(connection.GetEventLoop().IsInside());
int result = nfs_stat_async(ctx, path, Callback, this);
int result = nfs_stat64_async(ctx, path, Callback, this);
if (result < 0)
throw FormatRuntimeError("nfs_stat_async() failed: %s",
throw FormatRuntimeError("nfs_stat64_async() failed: %s",
nfs_get_error(ctx));
}