lib/nfs/Connection: use nfs_stat64_async
Since nfs_stat_async is deprecated.
This commit is contained in:

committed by
Max Kellermann

parent
f2caac595a
commit
9127afbf3f
@@ -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));
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user