Commit d6aa671f1853cc5589c180861c720ff04af13738

Authored by aliguori
1 parent 54c16572

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

Rebased for qemu tree.

Signed-off-by: Uri Lublin <uril@redhat.com> 
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>



git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6246 c046a42c-6fe2-441c-8c8c-71466251a162
Showing 1 changed file with 1 additions and 1 deletions
qemu-nbd.c
@@ -190,7 +190,7 @@ int main(int argc, char **argv) @@ -190,7 +190,7 @@ int main(int argc, char **argv)
190 char *device = NULL; 190 char *device = NULL;
191 char *socket = NULL; 191 char *socket = NULL;
192 char sockpath[128]; 192 char sockpath[128];
193 - const char *sopt = "hVbo:p:rsnP:c:dvk:e:t"; 193 + const char *sopt = "hVb:o:p:rsnP:c:dvk:e:t";
194 struct option lopt[] = { 194 struct option lopt[] = {
195 { "help", 0, 0, 'h' }, 195 { "help", 0, 0, 'h' },
196 { "version", 0, 0, 'V' }, 196 { "version", 0, 0, 'V' },