Add 's' to the getopt() string to allow the documented
'-s' option for fcoemon to work.

Signed-off-by: Eric Multanen <[email protected]>
---

 fcoemon.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/fcoemon.c b/fcoemon.c
index 8709285..1f9c4c1 100644
--- a/fcoemon.c
+++ b/fcoemon.c
@@ -2537,7 +2537,7 @@ int main(int argc, char **argv)
        sa_log_flags = 0;
        openlog(sa_log_prefix, LOG_CONS, LOG_DAEMON);
 
-       while ((c = getopt_long(argc, argv, "fdhv",
+       while ((c = getopt_long(argc, argv, "fdhsv",
                                fcm_options, NULL)) != -1) {
                switch (c) {
                case 'f':

_______________________________________________
devel mailing list
[email protected]
http://www.open-fcoe.org/mailman/listinfo/devel

Reply via email to