$NetBSD: patch-az,v 1.1 2006/10/21 11:53:13 agc Exp $ --- ./nfsmounter/staleserv.C.orig 1999-03-23 05:57:05.000000000 +0000 +++ ./nfsmounter/staleserv.C @@ -101,7 +101,7 @@ stalesrv::dispatch (srvelm *s, svccb *sb nfsmnt_handle h; if (sbp->proc () != 0) { h.setsize (NFS_FHSIZE); - memcpy (h.base (), sbp->template getarg (), NFS_FHSIZE); + memcpy (h.base (), sbp->getarg (), NFS_FHSIZE); } switch (sbp->proc ()) { case NFSPROC_GETATTR: @@ -115,8 +115,8 @@ stalesrv::dispatch (srvelm *s, svccb *sb break; case NFSPROC_LOOKUP: if (mpfsnode *n = getnode (nf->nfs2nodes[h])) { - if (sbp->template getarg ()->name == "." - || (n = n->dir->lookup(sbp->template getarg () + if (sbp->getarg ()->name == "." + || (n = n->dir->lookup(sbp->getarg () ->name))) { diropres res (NFS_OK); memcpy (res.reply->file.data.base (), @@ -142,7 +142,7 @@ stalesrv::dispatch (srvelm *s, svccb *sb //warn ("staleserv: %s\n", nfs_program_3.tbl[sbp->proc ()].name); nfsmnt_handle h; if (sbp->proc () != 0) - h = sbp->template getarg ()->data; + h = sbp->getarg ()->data; switch (sbp->proc ()) { case NFSPROC3_GETATTR: if (mpfsnode *n = getnode (nf->nfs3nodes[h])) { @@ -155,7 +155,7 @@ stalesrv::dispatch (srvelm *s, svccb *sb break; case NFSPROC3_LOOKUP: if (mpfsnode *n = getnode (nf->nfs3nodes[h])) { - diropargs3 *arg = sbp->template getarg (); + diropargs3 *arg = sbp->getarg (); if (arg->name == "." || (n = n->dir->lookup(arg->name))) { lookup3res res (NFS3_OK); res.resok->object.data = n->fh;