Take advantage of strstarts
commit8bec5dc062cc4ccfbd204ea200ef68ac1e18b956
authorAlan Jenkins <alan-jenkins@tuffmail.co.uk>
Thu, 12 Mar 2009 11:46:00 +0000 (12 11:46 +0000)
committerAlan Jenkins <alan-jenkins@tuffmail.co.uk>
Thu, 12 Mar 2009 11:46:00 +0000 (12 11:46 +0000)
treecf4fc370a2b8b0beb2aa76e439ea5e5a509be963
parentd800f14becf07a8575428fce8fa3af2908b5abec
Take advantage of strstarts

It's nice to use strstarts(), rather than open-coding it with strncmp()
and strlen().

Signed-off-by: Alan Jenkins <alan-jenkins@tuffmail.co.uk>
config_filter.c
depmod.c
modprobe.c