From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LL0eM-0003Ol-4z for qemu-devel@nongnu.org; Thu, 08 Jan 2009 14:34:38 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LL0eL-0003NK-78 for qemu-devel@nongnu.org; Thu, 08 Jan 2009 14:34:37 -0500 Received: from [199.232.76.173] (port=39938 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LL0eK-0003Md-RH for qemu-devel@nongnu.org; Thu, 08 Jan 2009 14:34:36 -0500 Received: from savannah.gnu.org ([199.232.41.3]:50336 helo=sv.gnu.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LL0eK-0005x0-EI for qemu-devel@nongnu.org; Thu, 08 Jan 2009 14:34:36 -0500 Received: from cvs.savannah.gnu.org ([199.232.41.69]) by sv.gnu.org with esmtp (Exim 4.63) (envelope-from ) id 1LL0eJ-0006pL-Rz for qemu-devel@nongnu.org; Thu, 08 Jan 2009 19:34:35 +0000 Received: from aliguori by cvs.savannah.gnu.org with local (Exim 4.63) (envelope-from ) id 1LL0eJ-0006pH-Le for qemu-devel@nongnu.org; Thu, 08 Jan 2009 19:34:35 +0000 MIME-Version: 1.0 Errors-To: aliguori Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit From: Anthony Liguori Message-Id: Date: Thu, 08 Jan 2009 19:34:35 +0000 Subject: [Qemu-devel] [6246] qemu-nbd: fix options: -b (--bind) expects an argument (IFACE) ( Uri Lublin) 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 Revision: 6246 http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=6246 Author: aliguori Date: 2009-01-08 19:34:35 +0000 (Thu, 08 Jan 2009) Log Message: ----------- qemu-nbd: fix options: -b (--bind) expects an argument (IFACE) (Uri Lublin) Rebased for qemu tree. Signed-off-by: Uri Lublin Signed-off-by: Anthony Liguori Modified Paths: -------------- trunk/qemu-nbd.c Modified: trunk/qemu-nbd.c =================================================================== --- trunk/qemu-nbd.c 2009-01-08 19:32:20 UTC (rev 6245) +++ trunk/qemu-nbd.c 2009-01-08 19:34:35 UTC (rev 6246) @@ -190,7 +190,7 @@ 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' },