]> git.ipfire.org Git - thirdparty/lxc.git/commit
Replace all calls to rindex by strrchr
authorStéphane Graber <stgraber@ubuntu.com>
Fri, 16 Aug 2013 09:53:11 +0000 (11:53 +0200)
committerStéphane Graber <stgraber@ubuntu.com>
Mon, 19 Aug 2013 12:32:55 +0000 (14:32 +0200)
commitc32981c3fb1bf5191052fb1c348bdc8b9e7c1b15
tree36b861bee9a12f395cbf8bb3c23ead8f06f7aaa0
parent4ba0d9af63fbf7e9acfa068a1fe36b3d287b9c6b
Replace all calls to rindex by strrchr

The two functions are identical but strrchr also works on Bionic.

Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
Acked-by: Serge E. Hallyn <serge.hallyn@ubuntu.com>
src/lxc/bdev.c
src/lxc/cgroup.c
src/lxc/lxccontainer.c