summaryrefslogtreecommitdiff
path: root/sys/arch/sparc64
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/sparc64')
-rw-r--r--sys/arch/sparc64/stand/ofwboot/boot.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/arch/sparc64/stand/ofwboot/boot.c b/sys/arch/sparc64/stand/ofwboot/boot.c
index 9263c523890..bcb5062578c 100644
--- a/sys/arch/sparc64/stand/ofwboot/boot.c
+++ b/sys/arch/sparc64/stand/ofwboot/boot.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: boot.c,v 1.37 2021/10/24 17:49:19 deraadt Exp $ */
+/* $OpenBSD: boot.c,v 1.38 2021/10/26 10:45:55 patrick Exp $ */
/* $NetBSD: boot.c,v 1.3 2001/05/31 08:55:19 mrg Exp $ */
/*
* Copyright (c) 1997, 1999 Eduardo E. Horvath. All rights reserved.
@@ -287,8 +287,6 @@ loadrandom(char *path, char *buf, size_t buflen)
struct stat sb;
int fd, i, error = 0;
-#define O_RDONLY 0
-
fd = open(path, O_RDONLY);
if (fd == -1)
return -1;