summaryrefslogtreecommitdiff
path: root/usr/src
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src')
-rw-r--r--usr/src/cmd/fs.d/autofs/autod_nfs.c4
-rw-r--r--usr/src/cmd/fs.d/nfs/lib/nfs_sec.c4
-rw-r--r--usr/src/cmd/fs.d/nfs/mount/mount.c4
3 files changed, 6 insertions, 6 deletions
diff --git a/usr/src/cmd/fs.d/autofs/autod_nfs.c b/usr/src/cmd/fs.d/autofs/autod_nfs.c
index a21471eab6..89f278b904 100644
--- a/usr/src/cmd/fs.d/autofs/autod_nfs.c
+++ b/usr/src/cmd/fs.d/autofs/autod_nfs.c
@@ -19,7 +19,7 @@
* CDDL HEADER END
*/
/*
- * Copyright 2008 Sun Microsystems, Inc. All rights reserved.
+ * Copyright 2009 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
@@ -3085,7 +3085,7 @@ get_the_stuff(
fh3p->fh3_length = res.
WNL_LOOKUP3res_u.res_ok.object.data.data_len;
- memcpy(fh3p->fh3_u.data, &res.
+ memcpy(fh3p->fh3_u.data, res.
WNL_LOOKUP3res_u.res_ok.object.data.data_val,
fh3p->fh3_length);
diff --git a/usr/src/cmd/fs.d/nfs/lib/nfs_sec.c b/usr/src/cmd/fs.d/nfs/lib/nfs_sec.c
index 40b2546047..c4bd67232c 100644
--- a/usr/src/cmd/fs.d/nfs/lib/nfs_sec.c
+++ b/usr/src/cmd/fs.d/nfs/lib/nfs_sec.c
@@ -21,7 +21,7 @@
/* LINTLIBRARY */
/*
- * Copyright 2008 Sun Microsystems, Inc. All rights reserved.
+ * Copyright 2009 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
@@ -655,7 +655,7 @@ nfs_sec_nego(rpcprog_t vers, CLIENT *clnt, char *fspath, struct snego_t *snego)
* 5th and after: sec flavors.
*/
{
- char *c = (char *)&res.WNL_LOOKUP3res_u.
+ char *c = res.WNL_LOOKUP3res_u.
res_ok.object.data.data_val;
int ii;
int len = res.WNL_LOOKUP3res_u.res_ok.
diff --git a/usr/src/cmd/fs.d/nfs/mount/mount.c b/usr/src/cmd/fs.d/nfs/mount/mount.c
index 3e2e1245f6..bd0aba1c04 100644
--- a/usr/src/cmd/fs.d/nfs/mount/mount.c
+++ b/usr/src/cmd/fs.d/nfs/mount/mount.c
@@ -20,7 +20,7 @@
*/
/*
- * Copyright 2008 Sun Microsystems, Inc. All rights reserved.
+ * Copyright 2009 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
@@ -1615,7 +1615,7 @@ get_the_addr(char *hostname, ulong_t prog, ulong_t vers,
fh3p->fh3_length =
res.WNL_LOOKUP3res_u.res_ok.object.data.data_len;
memcpy(fh3p->fh3_u.data,
- &res.WNL_LOOKUP3res_u.res_ok.object.data.data_val,
+ res.WNL_LOOKUP3res_u.res_ok.object.data.data_val,
fh3p->fh3_length);
*fhp = (caddr_t)fh3p;