diff options
author | dv <dv@cvs.openbsd.org> | 2021-04-02 19:07:19 +0000 |
---|---|---|
committer | dv <dv@cvs.openbsd.org> | 2021-04-02 19:07:19 +0000 |
commit | b3c47269c069339a60e3c42fddebaa43a7c0bbd8 (patch) | |
tree | cb2f94a8f1fa63564a261290027b6b5c9a53470f /usr.sbin/vmctl | |
parent | 97d36f8c6279f349f0df0375d9fc0c60c00b8cbc (diff) |
Remove superflouus mmcpy()
Reported by Preben Guldberg. ok mlarkin@
Diffstat (limited to 'usr.sbin/vmctl')
-rw-r--r-- | usr.sbin/vmctl/main.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/usr.sbin/vmctl/main.c b/usr.sbin/vmctl/main.c index 6eac8eec8b8..1a8460a001a 100644 --- a/usr.sbin/vmctl/main.c +++ b/usr.sbin/vmctl/main.c @@ -1,4 +1,4 @@ -/* $OpenBSD: main.c,v 1.63 2021/03/26 16:28:15 tb Exp $ */ +/* $OpenBSD: main.c,v 1.64 2021/04/02 19:07:18 dv Exp $ */ /* * Copyright (c) 2015 Reyk Floeter <reyk@openbsd.org> @@ -303,7 +303,6 @@ vmmaction(struct parse_result *res) else ret = 0; if (ret != 0) { - memcpy(&ret, imsg.data, sizeof(ret)); errno = ret; err(1, "command failed"); } else |