summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1998-04-25 07:14:54 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1998-04-25 07:14:54 +0000
commit17888e45497ed318a8dbaf864146325bcc6410c4 (patch)
tree1418416d1bbdd80da772745a4a9c20b0716312e4 /sys
parent505d28c0be6d4278013b38a7753b7cdf3587c727 (diff)
readlink() 3rd param is size_t; XPG
Diffstat (limited to 'sys')
-rw-r--r--sys/kern/syscalls.master4
-rw-r--r--sys/kern/vfs_syscalls.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/kern/syscalls.master b/sys/kern/syscalls.master
index 3814da550af..604f4d650f7 100644
--- a/sys/kern/syscalls.master
+++ b/sys/kern/syscalls.master
@@ -1,4 +1,4 @@
-; $OpenBSD: syscalls.master,v 1.23 1998/02/16 21:56:28 millert Exp $
+; $OpenBSD: syscalls.master,v 1.24 1998/04/25 07:14:45 deraadt Exp $
; $NetBSD: syscalls.master,v 1.32 1996/04/23 10:24:21 mycroft Exp $
; @(#)syscalls.master 8.2 (Berkeley) 1/13/94
@@ -135,7 +135,7 @@
57 STD { int sys_symlink(const char *path, \
const char *link); }
58 STD { int sys_readlink(const char *path, char *buf, \
- int count); }
+ size_t count); }
59 STD { int sys_execve(const char *path, \
char * const *argp, char * const *envp); }
60 STD { int sys_umask(int newmask); }
diff --git a/sys/kern/vfs_syscalls.c b/sys/kern/vfs_syscalls.c
index 86b52f11e6a..d3d8027e462 100644
--- a/sys/kern/vfs_syscalls.c
+++ b/sys/kern/vfs_syscalls.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vfs_syscalls.c,v 1.40 1998/04/06 09:00:58 niklas Exp $ */
+/* $OpenBSD: vfs_syscalls.c,v 1.41 1998/04/25 07:14:47 deraadt Exp $ */
/* $NetBSD: vfs_syscalls.c,v 1.71 1996/04/23 10:29:02 mycroft Exp $ */
/*
@@ -1444,7 +1444,7 @@ sys_readlink(p, v, retval)
register struct sys_readlink_args /* {
syscallarg(char *) path;
syscallarg(char *) buf;
- syscallarg(int) count;
+ syscallarg(size_t) count;
} */ *uap = v;
register struct vnode *vp;
struct iovec aiov;