Skip to content

sysctl.c: use strchr() instead of index()

Thomas Petazzoni requested to merge tpetazzoni/procps:use-strchr into master

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

Merge request reports