mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-10 23:07:44 +00:00
virnetdevopenvswitch: Fix ATTRIBUTE_NONNULL() tag for virNetDevOpenvswitchGetVhostuserIfname()
After e4c29e2904
the function has one argument more and the
argument that can't be NULL moved from second to third position.
Reported-by: John Ferlan <jferlan@redhat.com>
Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
parent
1423c1d8bc
commit
1b077e6116
@ -63,7 +63,7 @@ int virNetDevOpenvswitchInterfaceGetMaster(const char *ifname, char **master)
|
||||
int virNetDevOpenvswitchGetVhostuserIfname(const char *path,
|
||||
bool server,
|
||||
char **ifname)
|
||||
ATTRIBUTE_NONNULL(2) G_GNUC_WARN_UNUSED_RESULT G_GNUC_NO_INLINE;
|
||||
ATTRIBUTE_NONNULL(3) G_GNUC_WARN_UNUSED_RESULT G_GNUC_NO_INLINE;
|
||||
|
||||
int virNetDevOpenvswitchUpdateVlan(const char *ifname,
|
||||
const virNetDevVlan *virtVlan)
|
||||
|
Loading…
Reference in New Issue
Block a user