mirror of
https://github.com/opnsense/src.git
synced 2026-06-08 16:22:46 -04:00
Add #else case in run(..) to fix test on non-{amd64,arm64,mips} after
recent refactoring to the test
This commit is contained in:
parent
a678f77962
commit
62d02a8f74
1 changed files with 3 additions and 0 deletions
|
|
@ -133,6 +133,9 @@ ATF_TC_BODY(setcontext_link, tc)
|
|||
/* FreeBSD/mips only permits up to 6 arguments. */
|
||||
makecontext(&uc[i], (void *)run, 6, i,
|
||||
0, 1, 2, 3, 4);
|
||||
#else
|
||||
makecontext(&uc[i], (void *)run, 10, i,
|
||||
0, 1, 2, 3, 4, 5, 6, 7, 8);
|
||||
#endif
|
||||
#else
|
||||
makecontext(&uc[i], (void *)run, 10, i,
|
||||
|
|
|
|||
Loading…
Reference in a new issue