On Tue, 25 Mar 2008 00:47:53 -0400 Sean MacLennan <[EMAIL PROTECTED]> wrote:
> On Mon, 24 Mar 2008 22:39:18 +1100 > "Paul Mackerras" <[EMAIL PROTECTED]> wrote: > > > The second test will succeed for anything that starts with "ok", so > > the first test is redundant. I suspect you want strcmp instead of > > strncmp in both tests. > > I like the strncmp(status, "ok", 2). Then you can have a status of > okey-dokey ;) You can also have "oklahoma", "okaly-dokaly-do" (I hate Ned Flanders), and "ok-this-device-is-fubar-don't-ever-touch-it!" We really want just "okay" and "ok". Look for a version 3 of the patch that fixes it later today. josh _______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev