summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorThomas Guillem <thomas@gllm.fr>2015-11-13 20:33:56 +0100
committerMax Kellermann <max@musicpd.org>2018-08-20 10:51:24 +0200
commit9127afbf3ff69584410a513d8155f698d478758a (patch)
tree4de696ac61b2823ee19a9b380ab11db9e1b691aa /src/lib
parentf2caac595a775b4314c69057eb48c14b7627a72a (diff)
lib/nfs/Connection: use nfs_stat64_async
Since nfs_stat_async is deprecated.
Diffstat (limited to 'src/lib')
-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 cad2da530..33980de3f 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));
}