diff options
author | ru <ru@FreeBSD.org> | 2008-02-12 20:09:04 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2008-02-12 20:09:04 +0000 |
commit | 56aa644e2afa86546f32df939678f91cfb827c35 (patch) | |
tree | 6960888c6bfdf1b1f57904fc49a37303e846febf /sys/compat | |
parent | 636c607d81b2881f2edb182ae34c05016420b0c9 (diff) | |
download | FreeBSD-src-56aa644e2afa86546f32df939678f91cfb827c35.zip FreeBSD-src-56aa644e2afa86546f32df939678f91cfb827c35.tar.gz |
Change readlink(2)'s return type and type of the last argument
to match POSIX.
Prodded by: Alexey Lyashkov
Diffstat (limited to 'sys/compat')
-rw-r--r-- | sys/compat/freebsd32/syscalls.master | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/compat/freebsd32/syscalls.master b/sys/compat/freebsd32/syscalls.master index ce6f374..1394a92 100644 --- a/sys/compat/freebsd32/syscalls.master +++ b/sys/compat/freebsd32/syscalls.master @@ -132,8 +132,8 @@ 55 AUE_REBOOT NOPROTO { int reboot(int opt); } 56 AUE_REVOKE NOPROTO { int revoke(char *path); } 57 AUE_SYMLINK NOPROTO { int symlink(char *path, char *link); } -58 AUE_READLINK NOPROTO { int readlink(char *path, char *buf, \ - int count); } +58 AUE_READLINK NOPROTO { ssize_t readlink(char *path, char *buf, \ + size_t count); } 59 AUE_EXECVE STD { int freebsd32_execve(char *fname, \ u_int32_t *argv, u_int32_t *envv); } 60 AUE_UMASK NOPROTO { int umask(int newmask); } umask \ |