summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2020-07-17 08:57:40 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2020-07-17 08:57:40 +0000
commit6376de30ae3e6f585b325780f934f49b965900c7 (patch)
tree4b61ded283fdf05d3fb4cdcbe6c04f6b8a08b073 /sys
parent3d7196de8ec347e3489e1821437f8f2b7c57beba (diff)
Fix definition of KIOC_GETBOOTDUID ioctl.
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/powerpc64/include/kexec.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/powerpc64/include/kexec.h b/sys/arch/powerpc64/include/kexec.h
index ca018e00b0b..6ddeb970131 100644
--- a/sys/arch/powerpc64/include/kexec.h
+++ b/sys/arch/powerpc64/include/kexec.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: kexec.h,v 1.1 2020/07/16 19:37:58 kettenis Exp $ */
+/* $OpenBSD: kexec.h,v 1.2 2020/07/17 08:57:39 kettenis Exp $ */
/*
* Copyright (c) 2019-2020 Visa Hankala
@@ -31,6 +31,6 @@ struct kexec_args {
};
#define KIOC_KEXEC _IOW('K', 1, struct kexec_args)
-#define KIOC_GETBOOTDUID _IOW('K', 2, char[8])
+#define KIOC_GETBOOTDUID _IOR('K', 2, char[8])
#endif /* _MACHINE_KEXEC_H_ */