X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=examples%2Fnfsclient-bcast.c;fp=examples%2Fnfsclient-bcast.c;h=45a638532e786a809851e48a4f49d7f7b3eedcc7;hb=0f0e352f4971a188f3f1203f18d091420072aeb9;hp=62ea6549d29ba295003feeb82932565545c0aa44;hpb=1c1e09ad51aa210cabbcdc0a795aae1ceb8e9495;p=deb_libnfs.git diff --git a/examples/nfsclient-bcast.c b/examples/nfsclient-bcast.c index 62ea654..45a6385 100644 --- a/examples/nfsclient-bcast.c +++ b/examples/nfsclient-bcast.c @@ -212,7 +212,7 @@ int main(int argc _U_, char *argv[] _U_) exit(10); } - if (rpc_pmap_callit_async(rpc, MOUNT_PROGRAM, 2, 0, NULL, 0, pm_cb, &data) < 0) { + if (rpc_pmap2_callit_async(rpc, MOUNT_PROGRAM, 2, 0, NULL, 0, pm_cb, &data) < 0) { printf("Failed to set up callit function\n"); exit(10); }