]> git.ipfire.org Git - thirdparty/lxc.git/commit
cgfsng: fix is_lxcfs() and is_cgroupfs() 1100/head
authorChristian Brauner <cbrauner@suse.de>
Mon, 25 Jul 2016 15:10:47 +0000 (17:10 +0200)
committerChristian Brauner <cbrauner@suse.de>
Mon, 25 Jul 2016 15:17:39 +0000 (17:17 +0200)
commit2f62fb005bacc729728672f68c6869f66853fae5
treee3cfa6d3b65fea14b520156119f47fc6d23b7af2
parent9d206b25f599592ec1bef29d47b78ed5117f27e2
cgfsng: fix is_lxcfs() and is_cgroupfs()

Both functions advertise that they return true when strncmp() == 0 and false
when strncmp() != 0 but so far they returned the exact opposite.

Signed-off-by: Christian Brauner <cbrauner@suse.de>
src/lxc/cgfsng.c