summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorccardenas <ccardenas@cvs.openbsd.org>2018-02-26 06:36:54 +0000
committerccardenas <ccardenas@cvs.openbsd.org>2018-02-26 06:36:54 +0000
commita7e0b84c5f69ad42643b364271dd43aaf60d6f9a (patch)
tree71cadb735a37ca0f214c8ecd6393ed7fd7220065 /usr.sbin
parent0530b7cfb3c00ceb177840236f39b647f09d89f9 (diff)
vmctl: clarify console error message
Clear up ambiguous error message when attaching to a console fails as the vm id is not guaranteed to be populated. ok mlarkin@
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/vmctl/vmctl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/vmctl/vmctl.c b/usr.sbin/vmctl/vmctl.c
index fbe0ff66a7e..a935c8d2328 100644
--- a/usr.sbin/vmctl/vmctl.c
+++ b/usr.sbin/vmctl/vmctl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vmctl.c,v 1.45 2018/01/03 05:39:56 ccardenas Exp $ */
+/* $OpenBSD: vmctl.c,v 1.46 2018/02/26 06:36:53 ccardenas Exp $ */
/*
* Copyright (c) 2014 Mike Larkin <mlarkin@openbsd.org>
@@ -702,7 +702,7 @@ vm_console(struct vmop_info_result *list, size_t ct)
}
}
- errx(1, "console %d not found", info_id);
+ errx(1, "console not found");
}
/*