Date: Mon, 17 Apr 2006 18:57:37 GMT From: tkuik <tkuik@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 95432 for review Message-ID: <200604171857.k3HIvbvB089422@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=95432 Change 95432 by tkuik@tkuik_freebsd on 2006/04/17 18:57:18 Skip leading spaces on kernel cmd_line Submitted by: Tim Kuik Affected files ... .. //depot/projects/xen3/src/sys/i386-xen/i386-xen/xen_machdep.c#14 edit Differences ... ==== //depot/projects/xen3/src/sys/i386-xen/i386-xen/xen_machdep.c#14 (text+ko) ==== @@ -114,6 +114,9 @@ { char *cmd_line_next; + /* Skip leading spaces */ + for (; *cmd_line == ' '; cmd_line++); + for (cmd_line_next = cmd_line; strsep(&cmd_line_next, ",") != NULL;); return cmd_line; }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200604171857.k3HIvbvB089422>