Commit fd8a53ca authored by Max Kellermann's avatar Max Kellermann

nfs/Connection: use nfs_get_error() for mount error

parent 8707aafa
......@@ -320,8 +320,9 @@ NfsConnection::MountCallback(int status, gcc_unused nfs_context *nfs,
mount_finished = true;
if (status < 0) {
postponed_mount_error.Set(nfs_domain, status,
"nfs_mount_async() failed");
postponed_mount_error.Format(nfs_domain, status,
"nfs_mount_async() failed: %s",
nfs_get_error(context));
return;
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment