Skip to contentSkip to conversation

qemu-nbd: fix options: -b (--bind) expects an argument (IFACE)

PATCH In review Uri Lublin 2 participants 2 messages Jan 8, 2009

lore
Share & tools
lore

Uri Lublin

author
#0 lore raw

PATCH v2 1/1 qemu-nbd: fix options: -b (--bind) expects an argument (IFACE)

From: Uri Lublin <[email protected]>

Rebased for qemu tree.

---
 qemu-nbd.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
qemu-nbd.c +1 -1
index ed64b6b..59bd2f1 100644
@@ -190,7 +190,7 @@ int main(int argc, char **argv)
     char *device = NULL;
     char *socket = NULL;
     char sockpath[128];
-    const char *sopt = "hVbo:p:rsnP:c:dvk:e:t";
+    const char *sopt = "hVb:o:p:rsnP:c:dvk:e:t";
     struct option lopt[] = {
         { "help", 0, 0, 'h' },
         { "version", 0, 0, 'V' },
Signature · 1 line
1.6.0.6
#1 lore raw
Quoted 3 lines · Uri Lublin

From: Uri Lublin <[email protected]>

Rebased for qemu tree.

Again, whitespace damaged, but applied by hand. Thanks.

Regards,

Anthony Liguori

Quoted 18 lines
---
 qemu-nbd.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
qemu-nbd.c +1 -1
index ed64b6b..59bd2f1 100644
@@ -190,7 +190,7 @@ int main(int argc, char **argv)
     char *device = NULL;
     char *socket = NULL;
     char sockpath[128];
-    const char *sopt = "hVbo:p:rsnP:c:dvk:e:t";
+    const char *sopt = "hVb:o:p:rsnP:c:dvk:e:t";
     struct option lopt[] = {
         { "help", 0, 0, 'h' },
         { "version", 0, 0, 'V' },