mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-03-20 06:50:22 +03:00
virNetDevVPortProfileOp8021Qbh: Use proper type in virReportEnumRangeError()
The @virtPortOp variable inside of virNetDevVPortProfileOp8021Qbh is of type virNetDevVPortProfileLinkOp. Pass the proper type to virReportEnumRangeError(). Signed-off-by: Michal Privoznik <mprivozn@redhat.com> Reviewed-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
parent
4af0c1d60e
commit
57570b741c
@ -1182,7 +1182,7 @@ virNetDevVPortProfileOp8021Qbh(const char *ifname,
|
||||
rc = -1;
|
||||
break;
|
||||
default:
|
||||
virReportEnumRangeError(virNetDevVPortProfileType, virtPortOp);
|
||||
virReportEnumRangeError(virNetDevVPortProfileLinkOp, virtPortOp);
|
||||
rc = -1;
|
||||
break;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user