]> git.ipfire.org Git - thirdparty/lxc.git/commit
log.c:__lxc_log_set_file: fname cannot be null
authorSerge Hallyn <serge.hallyn@ubuntu.com>
Mon, 15 Feb 2016 20:15:10 +0000 (12:15 -0800)
committerStéphane Graber <stgraber@ubuntu.com>
Thu, 17 Nov 2016 22:55:03 +0000 (17:55 -0500)
commitef1ba04cfacdc3f9e6dc0df02d571417a937703d
treea8550fc3ed5e8f1bbc5893b8e066a9ec034ac9b3
parent8ab1f94bf3a264f568318edae2abb3077a5e9e11
log.c:__lxc_log_set_file: fname cannot be null

fname cannot be passed in as NULL by any of its current callers.  If it
could, then build_dir() would crash as it doesn't check for it.  So make
sure we are warned if in the future we pass in NULL.

Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
src/lxc/log.c