]> git.ipfire.org Git - thirdparty/lxc.git/commit
Fix reversed args in mount call
authorSerge Hallyn <serge.hallyn@ubuntu.com>
Fri, 9 Jan 2015 22:00:28 +0000 (22:00 +0000)
committerStéphane Graber <stgraber@ubuntu.com>
Mon, 12 Jan 2015 21:26:08 +0000 (16:26 -0500)
commit88322f776c8411048217add42d15d610b28317e2
tree17b7cb667a12497be911fa8898092365b1f6e932
parent1f76453a74f555e30384591567d87b5b4dac7e21
Fix reversed args in mount call

Riya Khanna reported that with a ramfs rootfs the mount to make
/ rprivate was returning -EFAULT.  NULL was being passed as the
mount target.  Pass "/" instead.

Reported-by: riya khanna <riyakhanna1983@gmail.com>>
Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
Acked-by: Stéphane Graber <stgraber@ubuntu.com>
src/lxc/conf.c