From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LKzLr-0006RW-BJ for qemu-devel@nongnu.org; Thu, 08 Jan 2009 13:11:27 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LKzLq-0006RA-SI for qemu-devel@nongnu.org; Thu, 08 Jan 2009 13:11:26 -0500 Received: from [199.232.76.173] (port=54845 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LKzLq-0006R5-CX for qemu-devel@nongnu.org; Thu, 08 Jan 2009 13:11:26 -0500 Received: from mx2.redhat.com ([66.187.237.31]:55564) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LKzLp-0003PO-VM for qemu-devel@nongnu.org; Thu, 08 Jan 2009 13:11:26 -0500 Received: from int-mx2.corp.redhat.com (int-mx2.corp.redhat.com [172.16.27.26]) by mx2.redhat.com (8.13.8/8.13.8) with ESMTP id n08IBP2Q002110 for ; Thu, 8 Jan 2009 13:11:25 -0500 Message-ID: <496641CA.5020909@redhat.com> Date: Thu, 08 Jan 2009 20:11:22 +0200 From: Uri Lublin MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] [PATCH v2] qemu-nbd: fix options: -b (--bind) expects an argument (IFACE) Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org, Uri Lublin From: Uri Lublin Rebased for qemu tree. Signed-off-by: Uri Lublin --- qemu-nbd.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/qemu-nbd.c b/qemu-nbd.c index ed64b6b..59bd2f1 100644 --- a/qemu-nbd.c +++ b/qemu-nbd.c @@ -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' }, -- 1.6.0.6