[syslinux] [PATCH] Unknown option: -s
Reminder
stappers at stappers.nl
Thu Aug 19 10:26:29 PDT 2010
Enjoy this reminder
Op 20100805 om 22:17 schreef Arwin Vosselman:
> Unknown option: -s
>
> In 'libinstaller/syslxopt.c' on line 71 the "s" (undercast) is missing in:
>
> const char short_options[] = "t:fid:UuzS:H:rvho:OM:ma";
>
> Adding the 's' there seems to solve our problem.
> ---
> libinstaller/syslxopt.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/libinstaller/syslxopt.c b/libinstaller/syslxopt.c
> index 9b42c66..7ceb3ba 100644
> --- a/libinstaller/syslxopt.c
> +++ b/libinstaller/syslxopt.c
> @@ -68,7 +68,7 @@ const struct option long_options[] = {
> {0, 0, 0, 0}
> };
>
> -const char short_options[] = "t:fid:UuzS:H:rvho:OM:ma";
> +const char short_options[] = "t:fid:UuzsS:H:rvho:OM:ma";
>
> void __attribute__ ((noreturn)) usage(int rv, enum syslinux_mode mode)
> {
> --
> 1.6.3.3
>
More information about the Syslinux
mailing list