[rtems commit] Filesystem: Use proper parameter in NFS

Sebastian Huber sebh at rtems.org
Fri May 4 08:54:49 UTC 2012


Module:    rtems
Branch:    master
Commit:    17472089632194aa658dbafc49e6d005fb218b91
Changeset: http://git.rtems.org/rtems/commit/?id=17472089632194aa658dbafc49e6d005fb218b91

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Fri May  4 10:48:02 2012 +0200

Filesystem: Use proper parameter in NFS

---

 cpukit/libfs/src/nfsclient/src/nfs.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/cpukit/libfs/src/nfsclient/src/nfs.c b/cpukit/libfs/src/nfsclient/src/nfs.c
index 71d8c0d..b3e24a9 100644
--- a/cpukit/libfs/src/nfsclient/src/nfs.c
+++ b/cpukit/libfs/src/nfsclient/src/nfs.c
@@ -1510,7 +1510,7 @@ char *dupname;
 		   &SERP_FILE(pNode),
 		   sizeof(SERP_FILE(pNode)));
 
-	SERP_ARGS(tNode).linkarg.to.name = (filename)name;
+	SERP_ARGS(tNode).linkarg.to.name = dupname;
 
 	if ( nfscall(tNode->nfs->server,
 					  NFSPROC_LINK,




More information about the vc mailing list