mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-30 16:35:24 +00:00
virsh: vol-create-as: Use 'unsigned int' for flags
The API itself uses 'unsigned int' so use the same type for the local variable in virsh. Signed-off-by: Peter Krempa <pkrempa@redhat.com> Reviewed-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
parent
bfc188e82c
commit
0022376b20
@ -236,7 +236,7 @@ cmdVolCreateAs(vshControl *ctl, const vshCmd *cmd)
|
||||
const char *snapshotStrVol = NULL, *snapshotStrFormat = NULL;
|
||||
unsigned long long capacity, allocation = 0;
|
||||
g_auto(virBuffer) buf = VIR_BUFFER_INITIALIZER;
|
||||
unsigned long flags = 0;
|
||||
unsigned int flags = 0;
|
||||
virshControl *priv = ctl->privData;
|
||||
|
||||
if (vshCommandOptBool(cmd, "prealloc-metadata"))
|
||||
|
Loading…
x
Reference in New Issue
Block a user