summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2020-05-23 19:54:13 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2020-05-23 19:54:13 +0000
commitec7dd0c0f916d45c2c872ab4738fc532892b15f4 (patch)
tree065afa67dcbee7cebfc95c413128e10dc1612829 /sys/arch
parent1381de7199044b853e7c2952687546b36bfadf22 (diff)
Add a little bit of const-ness.
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/arm64/arm64/machdep.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/arm64/arm64/machdep.c b/sys/arch/arm64/arm64/machdep.c
index aef05d66d88..93e0f973b62 100644
--- a/sys/arch/arm64/arm64/machdep.c
+++ b/sys/arch/arm64/arm64/machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: machdep.c,v 1.50 2020/05/17 15:03:06 kettenis Exp $ */
+/* $OpenBSD: machdep.c,v 1.51 2020/05/23 19:54:12 kettenis Exp $ */
/*
* Copyright (c) 2014 Patrick Wildt <patrick@blueri.se>
*
@@ -745,7 +745,7 @@ EFI_MEMORY_DESCRIPTOR *mmap;
void remap_efi_runtime(EFI_PHYSICAL_ADDRESS);
-void collect_kernel_args(char *);
+void collect_kernel_args(const char *);
void process_kernel_args(void);
void
@@ -1142,7 +1142,7 @@ remap_efi_runtime(EFI_PHYSICAL_ADDRESS system_table)
char bootargs[256];
void
-collect_kernel_args(char *args)
+collect_kernel_args(const char *args)
{
/* Make a local copy of the bootargs */
strlcpy(bootargs, args, sizeof(bootargs));