Change the size argument of __getcwd() to size_t.

This matches the getcwd() definition.

This is technically an ABI change, but that would only effect 64-bit
big-endian platforms that pass arguments on the stack. We have none of
those.

Reviewed by:	jhb
Obtained from:	CheriABI
Sponsored by:	DARPA, AFRL
Differential Revision:	https://reviews.freebsd.org/D9428
This commit is contained in:
Brooks Davis 2017-04-06 23:40:13 +00:00
parent 08069ae688
commit 982519d10f
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=316594
2 changed files with 2 additions and 2 deletions

View File

@ -586,7 +586,7 @@
323 AUE_NULL OBSOL thr_wakeup
324 AUE_MLOCKALL NOPROTO { int mlockall(int how); }
325 AUE_MUNLOCKALL NOPROTO { int munlockall(void); }
326 AUE_GETCWD NOPROTO { int __getcwd(char *buf, u_int buflen); }
326 AUE_GETCWD NOPROTO { int __getcwd(char *buf, size_t buflen); }
327 AUE_NULL NOPROTO { int sched_setparam (pid_t pid, \
const struct sched_param *param); }

View File

@ -573,7 +573,7 @@
323 AUE_NULL OBSOL thr_wakeup
324 AUE_MLOCKALL STD { int mlockall(int how); }
325 AUE_MUNLOCKALL STD { int munlockall(void); }
326 AUE_GETCWD STD { int __getcwd(char *buf, u_int buflen); }
326 AUE_GETCWD STD { int __getcwd(char *buf, size_t buflen); }
327 AUE_NULL STD { int sched_setparam (pid_t pid, \
const struct sched_param *param); }