Patchwork [Open-FCoE] fcoeadm: Add missing p option to optstring

login
register
mail settings
Submitter Mark Rustad
Date May 17, 2013, 8:36 p.m.
Message ID <20130517203655.15260.82683.stgit@host1-mdrustad.localdomain>
Download mbox | patch
Permalink /patch/51/
State Accepted
Headers show

Comments

Mark Rustad - May 17, 2013, 8:36 p.m.
Signed-off-by: Mark Rustad <mark.d.rustad@intel.com>
Tested-by: Jack Morgan<jack.morgan@intel.com>
---
 fcoeadm.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

diff --git a/fcoeadm.c b/fcoeadm.c
index 3700d75..07ff690 100644
--- a/fcoeadm.c
+++ b/fcoeadm.c
@@ -33,7 +33,7 @@ 
 #include "fcoe_clif.h"
 #include "fcoeadm_display.h"
 
-static const char optstring[] = "cdrSiftlm:sbhv";
+static const char optstring[] = "cdrSiftlm:sbhpv";
 static const struct option fcoeadm_opts[] = {
 	{"create", no_argument, 0, 'c'},
 	{"destroy", no_argument, 0, 'd'},