mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-22 11:22:23 +00:00
rpc: fix typo in admin code generation
An extra '&' introduced a crash. https://bugzilla.redhat.com/show_bug.cgi?id=2178866 Fixes: 778c3004609ede0a9df4cf3e01c031047530efb7 Signed-off-by: Ján Tomko <jtomko@redhat.com> Reviewed-by: Peter Krempa <pkrempa@redhat.com>
This commit is contained in:
parent
15ba70184c
commit
50f0e8e7aa
@ -1812,7 +1812,7 @@ elsif ($mode eq "client") {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if ($structprefix eq "admin") {
|
if ($structprefix eq "admin") {
|
||||||
print " VIR_LOCK_GUARD lock = virObjectLockGuard(&priv);\n";
|
print " VIR_LOCK_GUARD lock = virObjectLockGuard(priv);\n";
|
||||||
} else {
|
} else {
|
||||||
print " VIR_LOCK_GUARD lock = remoteDriverLock(priv);\n";
|
print " VIR_LOCK_GUARD lock = remoteDriverLock(priv);\n";
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user