artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5109078
)
Use imsg_get_fd() like everywhere else.
author
claudio
<claudio@openbsd.org>
Tue, 22 Oct 2024 15:19:48 +0000
(15:19 +0000)
committer
claudio
<claudio@openbsd.org>
Tue, 22 Oct 2024 15:19:48 +0000
(15:19 +0000)
OK florian@ dv@
usr.sbin/vmd/vmm.c
patch
|
blob
|
history
diff --git
a/usr.sbin/vmd/vmm.c
b/usr.sbin/vmd/vmm.c
index
1da919f
..
ca1c589
100644
(file)
--- a/
usr.sbin/vmd/vmm.c
+++ b/
usr.sbin/vmd/vmm.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: vmm.c,v 1.12
3 2024/09/26 01:45:13 jsg Exp $
*/
+/* $OpenBSD: vmm.c,v 1.12
4 2024/10/22 15:19:48 claudio Exp $
*/
/*
* Copyright (c) 2015 Mike Larkin <mlarkin@openbsd.org>
@@
-318,7
+318,7
@@
vmm_dispatch_parent(int fd, struct privsep_proc *p, struct imsg *imsg)
case IMSG_VMDOP_RECEIVE_PSP_FD:
if (env->vmd_psp_fd > -1)
fatalx("already received psp fd");
- env->vmd_psp_fd = imsg
->fd
;
+ env->vmd_psp_fd = imsg
_get_fd(imsg)
;
break;
default:
return (-1);