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 ;)

Cheers,
   Sean
_______________________________________________
Linuxppc-dev mailing list
Linuxppc-dev@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-dev

Reply via email to