summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--usr.sbin/vmd/parse.y8
1 files changed, 2 insertions, 6 deletions
diff --git a/usr.sbin/vmd/parse.y b/usr.sbin/vmd/parse.y
index 8b323af25c4..be326146516 100644
--- a/usr.sbin/vmd/parse.y
+++ b/usr.sbin/vmd/parse.y
@@ -1,4 +1,4 @@
-/* $OpenBSD: parse.y,v 1.53 2019/12/12 03:53:38 pd Exp $ */
+/* $OpenBSD: parse.y,v 1.54 2019/12/12 19:52:10 kn Exp $ */
/*
* Copyright (c) 2007-2016 Reyk Floeter <reyk@openbsd.org>
@@ -553,11 +553,7 @@ instance_flags : BOOT { vmc.vmc_insflags |= VMOP_CREATE_KERNEL; }
}
;
-owner_id : /* none */ {
- $$.uid = 0;
- $$.gid = -1;
- }
- | NUMBER {
+owner_id : NUMBER {
$$.uid = $1;
$$.gid = -1;
}