summaryrefslogtreecommitdiff
path: root/sys/arch/macppc/stand
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2020-05-25 15:10:19 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2020-05-25 15:10:19 +0000
commit499a5f03d1b552b1e9ff0a641794a4a6fc81cc00 (patch)
treeb9827c44ea2b82f3397d7d0f592e0dab537e089a /sys/arch/macppc/stand
parentf1c57085607bbc64c55438595c583f885aa086c3 (diff)
Bootblocks convert RB_GOODRANDOM to -R option, kernel converts it back into howto
Diffstat (limited to 'sys/arch/macppc/stand')
-rw-r--r--sys/arch/macppc/stand/main.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arch/macppc/stand/main.c b/sys/arch/macppc/stand/main.c
index 66551f81d5e..70b386dd227 100644
--- a/sys/arch/macppc/stand/main.c
+++ b/sys/arch/macppc/stand/main.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: main.c,v 1.10 2019/09/02 23:40:29 kettenis Exp $ */
+/* $OpenBSD: main.c,v 1.11 2020/05/25 15:10:18 deraadt Exp $ */
/* $NetBSD: boot.c,v 1.1 1997/04/16 20:29:17 thorpej Exp $ */
/*
@@ -196,6 +196,8 @@ run_loadfile(uint64_t *marks, int howto)
*++cp = 's';
if (howto & RB_KDB)
*++cp = 'd';
+ if (howto & RB_GOODRANDOM)
+ *++cp = 'R';
if (*cp == '-')
*--cp = 0;
else