]> git.ipfire.org Git - thirdparty/lxc.git/commit
utils: fix ppc64le builds 1573/head
authorChristian Brauner <christian.brauner@ubuntu.com>
Thu, 18 May 2017 11:18:29 +0000 (13:18 +0200)
committerChristian Brauner <christian.brauner@ubuntu.com>
Thu, 18 May 2017 11:18:29 +0000 (13:18 +0200)
commitff0e49c768ae23b3c700ec66ea42023c94dd1ca8
tree5351ee575f9e95990627e0cd991e06aeb6acbf7a
parent1de3c9170ec66a9dad0bb4bea8bc967cdec6f4c8
utils: fix ppc64le builds

I suspect that there's a glibc bug on ppc64le. Both clang and gcc a very
unhappy when you return -errno from these functions. Instead, let's return
concrete errno numbers, e.g. -EINVAL.

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
src/lxc/utils.c