aboutsummaryrefslogtreecommitdiff
path: root/sys/kern/vfs_syscalls.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/kern/vfs_syscalls.c')
-rw-r--r--sys/kern/vfs_syscalls.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/kern/vfs_syscalls.c b/sys/kern/vfs_syscalls.c
index 3bb62434d19a..d05ca3a8b2be 100644
--- a/sys/kern/vfs_syscalls.c
+++ b/sys/kern/vfs_syscalls.c
@@ -2307,7 +2307,7 @@ kern_pathconf(struct thread *td, char *path, enum uio_seg pathseg, int name)
struct readlink_args {
char *path;
char *buf;
- int count;
+ size_t count;
};
#endif
int
@@ -2316,7 +2316,7 @@ readlink(td, uap)
register struct readlink_args /* {
char *path;
char *buf;
- int count;
+ size_t count;
} */ *uap;
{
@@ -2326,7 +2326,7 @@ readlink(td, uap)
int
kern_readlink(struct thread *td, char *path, enum uio_seg pathseg, char *buf,
- enum uio_seg bufseg, int count)
+ enum uio_seg bufseg, size_t count)
{
register struct vnode *vp;
struct iovec aiov;