aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorRobert Wing <rew@FreeBSD.org>2021-03-07 06:19:30 +0000
committerRobert Wing <rew@FreeBSD.org>2021-03-07 06:19:30 +0000
commit6bb140e3ca895a148f32c93d50f93619bf735f73 (patch)
tree620d359442df32f4e7ec4c038cdb98f5350a5607 /usr.sbin
parent2fc640d5bc0a17024dc1eb996ab00af42a5c6dbd (diff)
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/bhyvectl/bhyvectl.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.sbin/bhyvectl/bhyvectl.c b/usr.sbin/bhyvectl/bhyvectl.c
index 68cc958e66ec..0f7b9533fe4b 100644
--- a/usr.sbin/bhyvectl/bhyvectl.c
+++ b/usr.sbin/bhyvectl/bhyvectl.c
@@ -1950,7 +1950,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);
}
}