[PATCH] boot: show all boot sources

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This patch fixes the presentation of all bootsources with 'boot -m' and
'boot -l' command.

Signed-off-by: Rolf Evers-Fischer <embedded24@xxxxxxxxxxxxxxxx>
---
 commands/boot.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/commands/boot.c b/commands/boot.c
index c8eae10..1a1856d 100644
--- a/commands/boot.c
+++ b/commands/boot.c
@@ -433,12 +433,12 @@ static int do_boot(int argc, char *argv[])
        }

        if (do_list) {
-               bootsources_list(sources, num_sources);
+               bootsources_list(&argv[optind], argc - optind);
                goto out;
        }

        if (do_menu) {
-               bootsources_menu(sources, num_sources);
+               bootsources_menu(&argv[optind], argc - optind);
                goto out;
        }

--
1.7.4.4

_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox





[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux