52 lines
1.8 KiB
Text
52 lines
1.8 KiB
Text
$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<nfsfd> nf, mpfsnode *n, int err)
|
|
{
|
|
- mountarg *ma = sbp->template getarg<mountarg> ();
|
|
+ mountarg *ma = sbp->getarg<mountarg> ();
|
|
if (err) {
|
|
warn << "mount " << ma->path << ": " << strerror (errno) << "\n";
|
|
reply (sbp, err);
|
|
@@ -131,7 +131,7 @@ proc_mount_2n (svccb *sbp, ref<nfsfd> nf
|
|
static void
|
|
proc_mount_2u (svccb *sbp, ref<uvfsfd> u, mpfsnode *n, int err)
|
|
{
|
|
- mountarg *ma = sbp->template getarg<mountarg> ();
|
|
+ mountarg *ma = sbp->getarg<mountarg> ();
|
|
if (err) {
|
|
warn << "mount " << ma->path << ": " << strerror (errno) << "\n";
|
|
reply (sbp, err);
|
|
@@ -144,7 +144,7 @@ proc_mount_2u (svccb *sbp, ref<uvfsfd> u
|
|
static void
|
|
proc_mount_2x (svccb *sbp, int devfd, str devname, mpfsnode *n, int err)
|
|
{
|
|
- mountarg *ma = sbp->template getarg<mountarg> ();
|
|
+ mountarg *ma = sbp->getarg<mountarg> ();
|
|
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<mountarg> ());
|
|
+ proc_mount (sbp, sbp->getarg<mountarg> ());
|
|
break;
|
|
case NFSMOUNTER_REMOUNT:
|
|
- proc_remount (sbp, sbp->template getarg<remountarg> ());
|
|
+ proc_remount (sbp, sbp->getarg<remountarg> ());
|
|
break;
|
|
case NFSMOUNTER_UMOUNT:
|
|
- proc_unmount (sbp, sbp->template getarg<umountarg> ());
|
|
+ proc_unmount (sbp, sbp->getarg<umountarg> ());
|
|
break;
|
|
case NFSMOUNTER_UMOUNTALL:
|
|
- proc_umountall (sbp, sbp->template getarg<int> ());
|
|
+ proc_umountall (sbp, sbp->getarg<int> ());
|
|
break;
|
|
}
|
|
}
|