[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[libvirt] [PATCH] Drop the leading lib from libvirt. Based on testing by thomas@scripty.at this is a better way to load the libarary



---
 src/main/java/org/libvirt/jna/Libvirt.java |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/main/java/org/libvirt/jna/Libvirt.java b/src/main/java/org/libvirt/jna/Libvirt.java
index 33914ac..62f7ba3 100644
--- a/src/main/java/org/libvirt/jna/Libvirt.java
+++ b/src/main/java/org/libvirt/jna/Libvirt.java
@@ -20,7 +20,7 @@ public interface Libvirt extends Library {
         public int authCallback(virConnectCredential cred, int ncred, Pointer cbdata);
     }
 
-    Libvirt INSTANCE = (Libvirt) Native.loadLibrary("libvirt", Libvirt.class);
+    Libvirt INSTANCE = (Libvirt) Native.loadLibrary("virt", Libvirt.class);
     
     // Constants we need
     public static int VIR_UUID_BUFLEN = 16;
-- 
1.6.0.6


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]