correct readlinkat(2) return type

r176215 corrected readlink(2)'s return type and the type of the last
argument.  readlink(2) was introduced in r177788 after being developed
as part of Google Summer of Code 2007; it appears to have inherited the
wrong return type.

Man pages and header files were already ssize_t; update syscalls.master
to match.

PR:		197915
Submitted by:	Henning Petersen <henning.petersen@t-online.de>
MFC after:	2 weeks
This commit is contained in:
Ed Maste 2019-04-16 13:26:31 +00:00
parent 54612fd52b
commit e8ee7d9035
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=346273
2 changed files with 2 additions and 2 deletions

View File

@ -963,7 +963,7 @@
uint32_t dev); }
499 AUE_OPENAT_RWTC NOPROTO { int openat(int fd, const char *path, \
int flag, mode_t mode); }
500 AUE_READLINKAT NOPROTO { int readlinkat(int fd, const char *path, \
500 AUE_READLINKAT NOPROTO { ssize_t readlinkat(int fd, const char *path, \
char *buf, size_t bufsize); }
501 AUE_RENAMEAT NOPROTO { int renameat(int oldfd, const char *old, \
int newfd, const char *new); }

View File

@ -2716,7 +2716,7 @@
);
}
500 AUE_READLINKAT STD {
int readlinkat(
ssize_t readlinkat(
int fd,
_In_z_ const char *path,
_Out_writes_bytes_(bufsize) char *buf,