]> git.proxmox.com Git - mirror_lxc.git/commit
Fix check against LXCROOTFSMOUNT to use strcmp
authorStéphane Graber <stgraber@ubuntu.com>
Mon, 12 Nov 2012 19:39:43 +0000 (14:39 -0500)
committerStéphane Graber <stgraber@ubuntu.com>
Mon, 12 Nov 2012 19:39:43 +0000 (14:39 -0500)
commit5bf2c5ce9ba2539efbf81928ef6ccb96d959bcf8
treef34708e745ba543fbe449c9c234bca0a66f9a490
parenteeb6cb8305a213c29ee20e4a0c4d4c1418c88dd8
Fix check against LXCROOTFSMOUNT to use strcmp

The check for conf->rootfs.mount not being equal to LXCROOTFSMOUNT
wasn't done with strcmp which was leading to undefined behaviour
and triggered gcc warnings.

Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
src/lxc/conf.c