On Thu, 2006-08-10 at 13:25 -0400, Amos Waterland wrote:
> 
> +        str = strrchr(buf, '/');
> +        if (str == NULL || strncmp(str + 1, "serial@", 7) != 0)
> +            continue; 

OK, I was wrong. :) (You can disagree, you know...) The original
strchr() was better.

Actually, don't we want to be looking at the device_type property
instead of the path anyways?

-- 
Hollis Blanchard
IBM Linux Technology Center


_______________________________________________
Xen-ppc-devel mailing list
Xen-ppc-devel@lists.xensource.com
http://lists.xensource.com/xen-ppc-devel

Reply via email to