]> git.proxmox.com Git - mirror_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)
committerSerge Hallyn <serge.hallyn@ubuntu.com>
Mon, 15 Feb 2016 20:15:10 +0000 (12:15 -0800)
commit3f53c691d248434fdb817e615495d9c419af07d1
treef28da101aba8af2d1d476ba31bd0993e4a8814c7
parentbad548de3ba42d501fe8604debadcce4031dda34
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