Skip to content

Commit

Permalink
attach: s/attach_child_main/do_attach/g
Browse files Browse the repository at this point in the history
Cc: stable-4.0
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
  • Loading branch information
Christian Brauner committed Jan 28, 2021
1 parent 02c9043 commit 7379954
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lxc/attach.c
Expand Up @@ -644,7 +644,7 @@ static void lxc_put_attach_clone_payload(struct attach_clone_payload *p)
}
}

static int attach_child_main(struct attach_clone_payload *payload)
static int do_attach(struct attach_clone_payload *payload)
{
int lsm_fd, ret;
uid_t new_uid;
Expand Down Expand Up @@ -1219,7 +1219,7 @@ int lxc_attach(struct lxc_container *container, lxc_attach_exec_t exec_function,
}
}

ret = attach_child_main(&payload);
ret = do_attach(&payload);
if (ret < 0)
ERROR("Failed to exec");

Expand Down

0 comments on commit 7379954

Please sign in to comment.