]> git.proxmox.com Git - mirror_lxc.git/commit
tests: lxc-test-reboot: Fix build on ia64
authorMathias Gibbens <gibmat@debian.org>
Sat, 19 Nov 2022 15:14:47 +0000 (15:14 +0000)
committerMathias Gibbens <gibmat@debian.org>
Sat, 19 Nov 2022 15:14:47 +0000 (15:14 +0000)
commit16c6ff22693a7c5419e4f36b4b8158d5dccbceec
tree2885eb5a7039440d14efec0843b0efc5d0c89502
parent8a494760947f7f1a843ed452f2c67325c6a3ddcd
tests: lxc-test-reboot: Fix build on ia64

Add the prototype for __clone2(...) that is used on ia64, and adjust the
code to use it via macro tests.

Verified that the code compiles properly on Debian's ia64 porterbox
(yttrium), but was unable to actually run as lxc-test-reboot requires
root privileges.

Signed-off-by: Mathias Gibbens <gibmat@debian.org>
src/tests/reboot.c