mirror of https://github.com/mkerrisk/man-pages
user_namespaces.7: Remove unneeded cast
Casting `void *` to `struct child_args *` is already done implicitly. Explicitly casting can silence warnings when mistakes are made, so it's better to remove those casts when possible. Signed-off-by: Alejandro Colomar <colomar.6.4.3@gmail.com> Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
180698be28
commit
dc0bba35e7
|
@ -1222,7 +1222,7 @@ proc_setgroups_write(pid_t child_pid, char *str)
|
|||
static int /* Start function for cloned child */
|
||||
childFunc(void *arg)
|
||||
{
|
||||
struct child_args *args = (struct child_args *) arg;
|
||||
struct child_args *args = arg;
|
||||
char ch;
|
||||
|
||||
/* Wait until the parent has updated the UID and GID mappings.
|
||||
|
|
Loading…
Reference in New Issue