j
: Next unread message k
: Previous unread message j a
: Jump to all threads
j l
: Jump to MailingList overview
Author: stepan Date: 2007-04-07 11:37:28 +0200 (Sat, 07 Apr 2007) New Revision: 117
Modified: openbios-devel/drivers/obio.c Log: boot fix from blueswirl.
Modified: openbios-devel/drivers/obio.c =================================================================== --- openbios-devel/drivers/obio.c 2007-03-23 17:00:01 UTC (rev 116) +++ openbios-devel/drivers/obio.c 2007-04-07 09:37:28 UTC (rev 117) @@ -340,11 +340,10 @@ } kernel_image = nv_info.kernel_image; kernel_size = nv_info.kernel_size; - - size = cmdline_size; + size = nv_info.cmdline_size; if (size > OBIO_CMDLINE_MAX) size = OBIO_CMDLINE_MAX; memcpy(obio_cmdline, nv_info.cmdline, size); - obio_cmdline[size-1] = '\0'; + obio_cmdline[size] = '\0'; cmdline = obio_cmdline; cmdline_size = size;