summaryrefslogtreecommitdiff
path: root/src/lib/nfs/Connection.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/nfs/Connection.cxx')
-rw-r--r--src/lib/nfs/Connection.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/nfs/Connection.cxx b/src/lib/nfs/Connection.cxx
index 8abfd9bc6..6b2ef6c3c 100644
--- a/src/lib/nfs/Connection.cxx
+++ b/src/lib/nfs/Connection.cxx
@@ -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));
}