[syslinux:master] Fix missing option -s in libinstaller

syslinux-bot for Arwin Vosselman arwin-tteam at xs4all.nl
Thu Sep 9 11:48:28 PDT 2010


Commit-ID:  6f438cf6d03e45d875b510559246573954e43218
Gitweb:     http://syslinux.zytor.com/commit/6f438cf6d03e45d875b510559246573954e43218
Author:     Arwin Vosselman <arwin-tteam at xs4all.nl>
AuthorDate: Thu, 5 Aug 2010 22:17:30 +0200
Committer:  H. Peter Anvin <hpa at linux.intel.com>
CommitDate: Thu, 9 Sep 2010 11:47:33 -0700

Fix missing option -s in libinstaller

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)
 {



More information about the Syslinux-commits mailing list