sysctl.c: use strchr() instead of index()
index() is a legacy function, which is no longer implemented by all C libraries (example: uClibc). Instead, use the POSIX defined strchr() function. Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
b4fdb27a05
commit
60b4208dd6
Loading…
Reference in New Issue
Block a user