From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-out.m-online.net (mail-out.m-online.net [212.18.0.10]) by ozlabs.org (Postfix) with ESMTP id 7A89FB7D0E for ; Wed, 21 Apr 2010 06:53:24 +1000 (EST) From: Andreas Schwab To: Christian Kujau Subject: Re: [Bug #15589] 2.6.34-rc1: Badness at fs/proc/generic.c:316 References: <1271765898.4324.2.camel@concordia> Date: Tue, 20 Apr 2010 22:53:19 +0200 In-Reply-To: (Christian Kujau's message of "Tue, 20 Apr 2010 11:15:05 -0700 (PDT)") Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: "Rafael J. Wysocki" , Linux Kernel Mailing List , linuxppc-dev@ozlabs.org, Kernel Testers List , adobriyan@gmail.com, Maciej Rutecki List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Christian Kujau writes: > + while ((p = strstr(p, "/"))) You want to use strchr. Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."