WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] [PATCH] Fix error message for xm block-detach

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] [PATCH] Fix error message for xm block-detach
From: Masaki Kanno <kanno.masaki@xxxxxxxxxxxxxx>
Date: Wed, 27 Jun 2007 14:54:23 +0900
Delivery-date: Tue, 26 Jun 2007 22:52:52 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Hi,

When I mistook the number of the argument to xm block-detach 
command, xm block-detach command showed two error messages 
as follows. 

 # xm block-detach hda1
 Error: 'xm block-detach' requires between 2 and 3 arguments.
 
 Usage: xm block-detach <Domain> <DevId> [-f|--force]
 
 Destroy a domain's virtual block device.
 Error: 'xm block-detach' requires between 2 and 3 arguments.
 
 Usage: xm block-detach <Domain> <DevId> [-f|--force]
 
 Destroy a domain's virtual block device.


This patch fixes the number of the error message to one. 

Signed-off-by: Masaki Kanno <kanno.masaki@xxxxxxxxxxxxxx>

Best regards,
 Kan

Attachment: errmsg_xm_block_detach.patch
Description: Binary data

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH] Fix error message for xm block-detach, Masaki Kanno <=