]> granicus.if.org Git - procps-ng/commit
Merge branch 'use-strchr' into 'master'
authorCraig Small <csmall@enc.com.au>
Mon, 15 Aug 2016 11:13:16 +0000 (11:13 +0000)
committerCraig Small <csmall@enc.com.au>
Mon, 15 Aug 2016 11:13:16 +0000 (11:13 +0000)
commit45b14318cf778db793f15ed6de302b9c902e2760
tree730c7229ea2fa6e064dae90aea8874f835fcf56b
parent41fee5ea667f2d6603457ee12842ac1ab2c18829
parent60b4208dd67c586771225a0a04bcb59f8ae58525
Merge branch 'use-strchr' into 'master'

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>
See merge request !22