diff options
author | Ruslan Bukin <br@FreeBSD.org> | 2018-08-03 12:47:54 +0000 |
---|---|---|
committer | Ruslan Bukin <br@FreeBSD.org> | 2018-08-03 12:47:54 +0000 |
commit | 380122186ebca75e49c7772052707810aae15130 (patch) | |
tree | 0c7cf56d776a4fe2b3316f9f2a6c127778a931c1 /contrib/netbsd-tests | |
parent | 7db4981b23c708832a6ffa25652eb46270c5c136 (diff) | |
download | src-test2-380122186ebca75e49c7772052707810aae15130.tar.gz src-test2-380122186ebca75e49c7772052707810aae15130.zip |
Notes
Diffstat (limited to 'contrib/netbsd-tests')
-rw-r--r-- | contrib/netbsd-tests/lib/libc/sys/t_getcontext.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/netbsd-tests/lib/libc/sys/t_getcontext.c b/contrib/netbsd-tests/lib/libc/sys/t_getcontext.c index 39f5f18c2c7e..8695a01ea930 100644 --- a/contrib/netbsd-tests/lib/libc/sys/t_getcontext.c +++ b/contrib/netbsd-tests/lib/libc/sys/t_getcontext.c @@ -54,7 +54,7 @@ run(int n, ...) #ifdef __FreeBSD__ #if defined(__amd64__) || defined(__sparc64__) for (i = 0; i < 5; i++) { -#elif defined(__aarch64__) || defined(__riscv__) +#elif defined(__aarch64__) || defined(__riscv) for (i = 0; i < 7; i++) { #else for (i = 0; i < 9; i++) { @@ -126,7 +126,7 @@ ATF_TC_BODY(setcontext_link, tc) */ makecontext(&uc[i], (void *)run, 6, i, 0, 1, 2, 3, 4); -#elif defined(__aarch64__) || defined(__riscv__) +#elif defined(__aarch64__) || defined(__riscv) /* * FreeBSD/arm64 and FreeBSD/riscv64 only permit up to * 8 arguments. |