summaryrefslogtreecommitdiff
path: root/security/sfs/patches/patch-ay
blob: cbbc8dc2b3189ea05b503181a630aac51bdc581f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
$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;
   }
 }