mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-20 11:48:28 -06:00
Re-name remote_internal.c:driver to remote_driver
Confused me when poking at another 'driver' variable in gdb which gcc had optimized away * src/remote_internal.c: rename driver to remote_driver
This commit is contained in:
parent
097c818bf0
commit
331e1fcbee
@ -7461,7 +7461,7 @@ unsigned long remoteVersion(void)
|
||||
return REMOTE_PROTOCOL_VERSION;
|
||||
}
|
||||
|
||||
static virDriver driver = {
|
||||
static virDriver remote_driver = {
|
||||
VIR_DRV_REMOTE,
|
||||
"remote",
|
||||
remoteOpen, /* open */
|
||||
@ -7639,7 +7639,7 @@ static virStateDriver state_driver = {
|
||||
int
|
||||
remoteRegister (void)
|
||||
{
|
||||
if (virRegisterDriver (&driver) == -1) return -1;
|
||||
if (virRegisterDriver (&remote_driver) == -1) return -1;
|
||||
if (virRegisterNetworkDriver (&network_driver) == -1) return -1;
|
||||
if (virRegisterInterfaceDriver (&interface_driver) == -1) return -1;
|
||||
if (virRegisterStorageDriver (&storage_driver) == -1) return -1;
|
||||
|
Loading…
Reference in New Issue
Block a user