]> git.ipfire.org Git - thirdparty/lxc.git/commit
criu: DECLARE_ARG should check for null arguments
authorTycho Andersen <tycho.andersen@canonical.com>
Wed, 8 Oct 2014 17:12:04 +0000 (17:12 +0000)
committerSerge Hallyn <serge.hallyn@ubuntu.com>
Wed, 8 Oct 2014 17:47:13 +0000 (12:47 -0500)
commit2566a145174d0e5e0cd5f0488e559945e791ed7d
treec1b7d46c5a411b18628d73a851b42c0de508c80c
parent9a64d3cf9fae39337943174fd7d680a62bade2fa
criu: DECLARE_ARG should check for null arguments

This is in preparation for the cgroups creation work, but also probably just a
good idea in general. The ERROR message is handy since we print line nos. it
will to give people an indication of what arg was null.

Signed-off-by: Tycho Andersen <tycho.andersen@canonical.com>
Acked-by: Serge E. Hallyn <serge.hallyn@ubuntu.com>
src/lxc/lxccontainer.c