diff options
author | Matt Fleming <matt.fleming@intel.com> | 2011-11-09 13:19:54 +0000 |
---|---|---|
committer | Matt Fleming <matt.fleming@intel.com> | 2011-12-02 12:13:30 +0000 |
commit | 9298b65eaa645d94a17c9663e2cf988626d34def (patch) | |
tree | d78833e49bbfbe04f369957f5ad71f2d7d8e99b2 | |
parent | 8589c986e0ff312221260f8c1b3f5463ceb691c8 (diff) | |
download | syslinux-9298b65eaa645d94a17c9663e2cf988626d34def.tar.gz syslinux-9298b65eaa645d94a17c9663e2cf988626d34def.tar.xz syslinux-9298b65eaa645d94a17c9663e2cf988626d34def.zip |
ldlinux: Make tab-completion output same as pre-elflink
To maintain compatability with the old pre-elflink command line code,
the list of potential labels should all be printed on one line, not
one per line.
Signed-off-by: Matt Fleming <matt.fleming@intel.com>
-rw-r--r-- | com32/elflink/ldlinux/readconfig.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/com32/elflink/ldlinux/readconfig.c b/com32/elflink/ldlinux/readconfig.c index 60448c43..3a6a3677 100644 --- a/com32/elflink/ldlinux/readconfig.c +++ b/com32/elflink/ldlinux/readconfig.c @@ -426,8 +426,9 @@ void print_labels(const char *prefix, size_t len) printf("\n"); for (me = all_entries; me; me = me->next ) { if (!strncmp(prefix, me->label, len)) - printf(" %s\n", me->label); + printf(" %s", me->label); } + printf("\n"); } struct menu_entry *find_label(const char *str) |