diff options
Diffstat (limited to 'usr/src/cmd/bhyvectl/bhyvectl.c')
| -rw-r--r-- | usr/src/cmd/bhyvectl/bhyvectl.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/usr/src/cmd/bhyvectl/bhyvectl.c b/usr/src/cmd/bhyvectl/bhyvectl.c index 2948c14ebb..313a1a37f4 100644 --- a/usr/src/cmd/bhyvectl/bhyvectl.c +++ b/usr/src/cmd/bhyvectl/bhyvectl.c @@ -1959,7 +1959,9 @@ main(int argc, char *argv[]) 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); } } |
