forked from Imagelibrary/rtems
2011-01-04 Joel Sherrill <joel.sherrill@oarcorp.com>
* libfs/src/nfsclient/src/nfs.c: readlink filesystem entry should return ssize_t.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user