$NetBSD: patch-ay,v 1.1 2006/10/21 11:53:13 agc Exp $ --- ./nfsmounter/nfsmounter.C.orig 2001-07-01 22:36:11.000000000 +0100 +++ ./nfsmounter/nfsmounter.C @@ -119,7 +119,7 @@ proc_mount_3 (svccb *sbp, int closefd, i static void proc_mount_2n (svccb *sbp, ref nf, mpfsnode *n, int err) { - mountarg *ma = sbp->template getarg (); + mountarg *ma = sbp->getarg (); if (err) { warn << "mount " << ma->path << ": " << strerror (errno) << "\n"; reply (sbp, err); @@ -131,7 +131,7 @@ proc_mount_2n (svccb *sbp, ref nf static void proc_mount_2u (svccb *sbp, ref u, mpfsnode *n, int err) { - mountarg *ma = sbp->template getarg (); + mountarg *ma = sbp->getarg (); if (err) { warn << "mount " << ma->path << ": " << strerror (errno) << "\n"; reply (sbp, err); @@ -144,7 +144,7 @@ proc_mount_2u (svccb *sbp, ref u static void proc_mount_2x (svccb *sbp, int devfd, str devname, mpfsnode *n, int err) { - mountarg *ma = sbp->template getarg (); + mountarg *ma = sbp->getarg (); if (err) { warn << "mount " << ma->path << ": " << strerror (errno) << "\n"; reply (sbp, err); @@ -246,16 +246,16 @@ dispatch (svccb *sbp) sbp->reply (NULL); break; case NFSMOUNTER_MOUNT: - proc_mount (sbp, sbp->template getarg ()); + proc_mount (sbp, sbp->getarg ()); break; case NFSMOUNTER_REMOUNT: - proc_remount (sbp, sbp->template getarg ()); + proc_remount (sbp, sbp->getarg ()); break; case NFSMOUNTER_UMOUNT: - proc_unmount (sbp, sbp->template getarg ()); + proc_unmount (sbp, sbp->getarg ()); break; case NFSMOUNTER_UMOUNTALL: - proc_umountall (sbp, sbp->template getarg ()); + proc_umountall (sbp, sbp->getarg ()); break; } }