Page MenuHomeFreeBSD

D29109.id85287.diff
No OneTemporary

D29109.id85287.diff

Index: lib/libvmmapi/vmmapi.c
===================================================================
--- lib/libvmmapi/vmmapi.c
+++ lib/libvmmapi/vmmapi.c
@@ -133,7 +133,7 @@
return (vm);
err:
- vm_destroy(vm);
+ free(vm);
return (NULL);
}
Index: usr.sbin/bhyvectl/bhyvectl.c
===================================================================
--- usr.sbin/bhyvectl/bhyvectl.c
+++ usr.sbin/bhyvectl/bhyvectl.c
@@ -1950,7 +1950,9 @@
if (!error) {
ctx = vm_open(vmname);
if (ctx == NULL) {
- printf("VM:%s is not created.\n", vmname);
+ fprintf(stderr,
+ "vm_open: %s could not be opened: %s.\n",
+ vmname, strerror(errno));
exit (1);
}
}

File Metadata

Mime Type
text/plain
Expires
Thu, May 14, 3:25 PM (13 h, 54 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
33036141
Default Alt Text
D29109.id85287.diff (677 B)

Event Timeline