Re: [Bug #15589] 2.6.34-rc1: Badness at fs/proc/generic.c:316

Andreas Schwab
2010-04-20T20:53:19Z

Christian Kujau <lists-AanptEQQ3TL9uQeqpI+JUg@public.gmane.org> writes:

> + while ((p = strstr(p, "/")))

You want to use strchr.

Andreas.

--
Andreas Schwab, schwab-Td1EMuHUCqxL1ZNQvxDV9g@public.gmane.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."