]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
attach_options: unbreak header
authorChristian Brauner <christian.brauner@ubuntu.com>
Tue, 4 May 2021 13:43:38 +0000 (15:43 +0200)
committerChristian Brauner <christian.brauner@ubuntu.com>
Tue, 4 May 2021 13:43:38 +0000 (15:43 +0200)
In a moment of idioticity I switch -1 with 0xffffffff in the header
definition but we use -1 to autodetect.

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

index 3a58d571c9fc0b1d0f9ae29a4ce9bf79faf31cba..b8e786023d16dc8ab0b5511269201ef2a85a1788 100644 (file)
@@ -160,7 +160,7 @@ typedef struct lxc_attach_options_t {
        {                                               \
                .attach_flags   = LXC_ATTACH_DEFAULT,   \
                .namespaces     = -1,                   \
-               .personality    = 0xffffffff,           \
+               .personality    = -1,                   \
                .initial_cwd    = NULL,                 \
                .uid            = (uid_t)-1,            \
                .gid            = (gid_t)-1,            \