提交 d510d4bf 编写于 作者: R Richard W.M. Jones

* src/libvirt.c: Register the remote driver even when we are

        configured --without-libvirtd.  Also adds debugging of
        registration events.
上级 fd52c6ff
Wed Oct 15 11:28:00 BST 2008 Richard W.M. Jones <rjones@redhat.com>
* src/libvirt.c: Register the remote driver even when we are
configured --without-libvirtd. Also adds debugging of
registration events.
Mon Oct 13 18:45:43 CEST 2008 Jim Meyering <meyering@redhat.com>
avoid many format string warnings
......
......@@ -300,9 +300,9 @@ virInitialize(void)
if (networkRegister() == -1) return -1;
#endif
if (storageRegister() == -1) return -1;
#endif
#ifdef WITH_REMOTE
if (remoteRegister () == -1) return -1;
#endif
#endif
return(0);
......@@ -543,6 +543,9 @@ virRegisterDriver(virDriverPtr driver)
return -1;
}
DEBUG ("registering %s as driver %d",
driver->name, virDriverTabCount);
virDriverTab[virDriverTabCount] = driver;
return virDriverTabCount++;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册