]> git.proxmox.com Git - mirror_lxc.git/commit - src/lxc/attach.c
cast NULL pointers passed to execl*()
authorChristian Brauner <christian.brauner@mailbox.org>
Fri, 19 Feb 2016 11:44:40 +0000 (12:44 +0100)
committerChristian Brauner <christian.brauner@mailbox.org>
Fri, 19 Feb 2016 11:44:40 +0000 (12:44 +0100)
commitacf47e1b5fce0c6c8ca425d986c03a71fcfe0a7e
treecbcf6637e8bdc3758fc1a59a522337b962e9d613
parentd89da6bf6e808061155ca9669ed2a96d037cefd5
cast NULL pointers passed to execl*()

NULL pointers passed to execl*() functions must be cast to (char *)NULL since
they are variadic functions.

Signed-off-by: Christian Brauner <christian.brauner@mailbox.org>
src/lxc/attach.c
src/lxc/bdev/bdev.c
src/lxc/bdev/lxclvm.c
src/lxc/bdev/lxcnbd.c
src/lxc/bdev/lxcrbd.c
src/lxc/bdev/lxczfs.c
src/lxc/network.c