[syslinux] [PATCH] Unknown option: -s

Arwin Vosselman arwin-tteam at xs4all.nl
Thu Aug 5 13:17:30 PDT 2010


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