]> git.proxmox.com Git - mirror_lxcfs.git/commit
Fix build on ia64
authorMathias Gibbens <gibmat@debian.org>
Thu, 17 Nov 2022 21:57:58 +0000 (21:57 +0000)
committerMathias Gibbens <gibmat@debian.org>
Thu, 17 Nov 2022 21:57:58 +0000 (21:57 +0000)
commitdf8d36904e0617bad52f4ae9028a9ce9c94eaf49
tree7ef66927735f9dde867ddc1df41a2469143af406
parent6ea5370b8c4fde3ae5fecad9d7af9ddfd173a6b6
Fix build on ia64

The relevant code was added in commit 35acc24, but the function/macro
prctl_arg() didn't seem to be defined anywhere in the repo. lxc
currently has a corresponding macro defined in src/lxc/macro.h that
casts the value to an unsigned long. But 0 doesn't require any special
handling, so remove the call to prctl_arg().

Verified that the code compiles properly on Debian's ia64 porterbox
(yttrium).

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