artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9f90fd2
)
vmctl: clarify console error message
author
ccardenas
<ccardenas@openbsd.org>
Mon, 26 Feb 2018 06:36:53 +0000
(06:36 +0000)
committer
ccardenas
<ccardenas@openbsd.org>
Mon, 26 Feb 2018 06:36:53 +0000
(06:36 +0000)
Clear up ambiguous error message when attaching to a console fails as
the vm id is not guaranteed to be populated.
ok mlarkin@
usr.sbin/vmctl/vmctl.c
patch
|
blob
|
history
diff --git
a/usr.sbin/vmctl/vmctl.c
b/usr.sbin/vmctl/vmctl.c
index
fbe0ff6
..
a935c8d
100644
(file)
--- a/
usr.sbin/vmctl/vmctl.c
+++ b/
usr.sbin/vmctl/vmctl.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: vmctl.c,v 1.4
5 2018/01/03 05:39:56
ccardenas Exp $ */
+/* $OpenBSD: vmctl.c,v 1.4
6 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"
);
}
/*