From: "Daniel P. Berrange" <berrange@xxxxxxxxxx> Some code mistakenly called virIdentityOnceInit directly instead of virIdentityInitialize(). This meant that one-time initializer was run many times with predictably bad results. Pushed under trivial rule --- src/util/viridentity.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/util/viridentity.c b/src/util/viridentity.c index 1d40972..c9efd3f 100644 --- a/src/util/viridentity.c +++ b/src/util/viridentity.c @@ -83,7 +83,7 @@ virIdentityPtr virIdentityGetCurrent(void) { virIdentityPtr ident; - if (virIdentityOnceInit() < 0) + if (virIdentityInitialize() < 0) return NULL; ident = virThreadLocalGet(&virIdentityCurrent); @@ -104,7 +104,7 @@ int virIdentitySetCurrent(virIdentityPtr ident) { virIdentityPtr old; - if (virIdentityOnceInit() < 0) + if (virIdentityInitialize() < 0) return -1; old = virThreadLocalGet(&virIdentityCurrent); -- 1.8.1.4 -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list