Skip to content

Commit

Permalink
attach: mark do_attach() as __noreturn
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 27, 2021
1 parent 16d19b3 commit 737a8d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lxc/attach.c
Expand Up @@ -644,7 +644,7 @@ static void lxc_put_attach_clone_payload(struct attach_clone_payload *p)
}
}

static int do_attach(struct attach_clone_payload *payload)
__noreturn static int do_attach(struct attach_clone_payload *payload)
{
int lsm_fd, ret;
uid_t new_uid;
Expand Down

0 comments on commit 737a8d8

Please sign in to comment.