summaryrefslogtreecommitdiffstats
path: root/cpukit/libfs
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2011-01-04 18:32:59 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2011-01-04 18:32:59 +0000
commitf447932fc0f85ccede4211a04591f7b8d2277584 (patch)
treea8bfd147399e51097acb59fcda5b09ba1cd2b380 /cpukit/libfs
parent2011-01-04 Joel Sherrill <joel.sherrill@oarcorp.com> (diff)
downloadrtems-f447932fc0f85ccede4211a04591f7b8d2277584.tar.bz2
2011-01-04 Joel Sherrill <joel.sherrill@oarcorp.com>
* libfs/src/nfsclient/src/nfs.c: readlink filesystem entry should return ssize_t.
Diffstat (limited to 'cpukit/libfs')
-rw-r--r--cpukit/libfs/src/nfsclient/src/nfs.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/cpukit/libfs/src/nfsclient/src/nfs.c b/cpukit/libfs/src/nfsclient/src/nfs.c
index a3c85ea0db..b8a7ffdb57 100644
--- a/cpukit/libfs/src/nfsclient/src/nfs.c
+++ b/cpukit/libfs/src/nfsclient/src/nfs.c
@@ -561,10 +561,10 @@ typedef struct NfsNodeRec_ {
Forward Declarations
*****************************************/
-static int nfs_readlink(
+static ssize_t nfs_readlink(
rtems_filesystem_location_info_t *loc, /* IN */
- char *buf, /* OUT */
- size_t len
+ char *buf, /* OUT */
+ size_t len
);
static int updateAttr(NfsNode node, int force);
@@ -2246,10 +2246,10 @@ int rval;
return 0;
}
-static int nfs_readlink(
+static ssize_t nfs_readlink(
rtems_filesystem_location_info_t *loc, /* IN */
- char *buf, /* OUT */
- size_t len
+ char *buf, /* OUT */
+ size_t len
)
{
strbuf sbuf;