diff options
author | anton <anton@cvs.openbsd.org> | 2019-08-14 07:34:50 +0000 |
---|---|---|
committer | anton <anton@cvs.openbsd.org> | 2019-08-14 07:34:50 +0000 |
commit | fd1e2c3940032086025dddcc3a88bd68b60a78e5 (patch) | |
tree | cc7f2ea47b483bcbdde5fbf7ccc3eddd9c5bd448 /usr.sbin/vmd/vmd.h | |
parent | edb34c21723f51d28c4e97cd8762173f7372abed (diff) |
Improve the error message when supplying an invalid template to vmctl
start. Favoring 'invalid template' over 'permission denied' should give
the user a better hint on what went wrong.
ok kn@ mlarkin@
Diffstat (limited to 'usr.sbin/vmd/vmd.h')
-rw-r--r-- | usr.sbin/vmd/vmd.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/vmd/vmd.h b/usr.sbin/vmd/vmd.h index 2d848e5d37e..30922d1d36e 100644 --- a/usr.sbin/vmd/vmd.h +++ b/usr.sbin/vmd/vmd.h @@ -1,4 +1,4 @@ -/* $OpenBSD: vmd.h,v 1.95 2019/07/17 05:51:07 pd Exp $ */ +/* $OpenBSD: vmd.h,v 1.96 2019/08/14 07:34:49 anton Exp $ */ /* * Copyright (c) 2015 Mike Larkin <mlarkin@openbsd.org> @@ -72,6 +72,7 @@ #define VMD_VM_STOP_INVALID 1004 #define VMD_CDROM_MISSING 1005 #define VMD_CDROM_INVALID 1006 +#define VMD_PARENT_INVALID 1007 /* Image file signatures */ #define VM_MAGIC_QCOW "QFI\xfb" |