Dear David Hawkins,

In message <[email protected]> you wrote:
>
> > In message <[email protected]> you wrote:
> >>>  705         /* Terminate fs_type string. Writing past the end of vistart
> >>>  706            is ok - it's just the buffer. */
> >>>  707         vistart->fs_type[8] = '\0';
...
> How about something in the same vein then
> 
> char *c = vistart->fstype;
> c[8] = '\0';

Thanks - this is what I actually did.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: [email protected]
...though his invention worked superbly -- his theory was a crock  of
sewage from beginning to end.         - Vernor Vinge, "The Peace War"
_______________________________________________
U-Boot mailing list
[email protected]
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to