From 5398f1f5e374bd7aaabd0cad341a6d7f21fd7dbe Mon Sep 17 00:00:00 2001 From: Laurent Vivier Date: Sun, 8 Nov 2009 23:43:19 +0000 Subject: [PATCH] Correct typo git-svn-id: svn://coreboot.org/openbios/trunk/openbios-devel@600 f158a5a8-5612-0410-a976-696ce0be7e32 --- arch/ppc/qemu/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/ppc/qemu/main.c b/arch/ppc/qemu/main.c index 6c60618..f9cc582 100644 --- a/arch/ppc/qemu/main.c +++ b/arch/ppc/qemu/main.c @@ -132,7 +132,7 @@ encode_bootpath( const char *spec, const char *args ) partition, directory, filename); ELF_DPRINTF("bootpath %s bootargs %s\n", path, args); - set_property( chosen_ph, "bootpath", path, strlen(spec)+1 ); + set_property( chosen_ph, "bootpath", path, strlen(path)+1 ); if (args) set_property( chosen_ph, "bootargs", args, strlen(args)+1 ); }