Commit bdbbce9c authored by Daniel Veillard's avatar Daniel Veillard

* src/jni/org_libvirt_Domain.c: fix a cut and paste bug pointed out

  by Zvi Dubitzky
daniel
parent 7e08544e
Mon May 11 10:49:54 CEST 2009 Daniel Veillard <veillard@redhat.com>
* src/jni/org_libvirt_Domain.c: fix a cut and paste bug pointed out
by Zvi Dubitzky
Wed Oct 29 14:28:50 CET 2008 Daniel Veillard <veillard@redhat.com>
* src/jni/Makefile.am: Include LIBVIRT_CFLAGS in the CFLAGS used for
......
......@@ -395,7 +395,7 @@ JNIEXPORT jobject JNICALL Java_org_libvirt_Domain__1blockStats
(JNIEnv *env, jobject obj, jlong VDP, jstring j_path){
struct _virDomainBlockStats stats;
jobject j_stats;
jclass stats_cls=(*env)->FindClass(env, "org/libvirt/DomainInterfaceStats");
jclass stats_cls=(*env)->FindClass(env, "org/libvirt/DomainBlockStats");
const char *path = (*env)->GetStringUTFChars(env, j_path, NULL);
if(virDomainBlockStats((virDomainPtr)VDP, path, &stats, sizeof(struct _virDomainBlockStats))<0){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment