diff options
-rw-r--r-- | sys/arch/arm64/arm64/machdep.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/sys/arch/arm64/arm64/machdep.c b/sys/arch/arm64/arm64/machdep.c index ac3a9f6344b..d45f6e18cf9 100644 --- a/sys/arch/arm64/arm64/machdep.c +++ b/sys/arch/arm64/arm64/machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: machdep.c,v 1.29 2018/02/06 20:35:21 naddy Exp $ */ +/* $OpenBSD: machdep.c,v 1.30 2018/03/09 16:14:47 kettenis Exp $ */ /* * Copyright (c) 2014 Patrick Wildt <patrick@blueri.se> * @@ -1121,6 +1121,7 @@ collect_kernel_args(char *args) /* Make a local copy of the bootargs */ strncpy(bootargs, args, MAX_BOOT_STRING - sizeof(int)); } + void process_kernel_args(void) { @@ -1132,11 +1133,6 @@ process_kernel_args(void) } boothowto = 0; - - /* Make a local copy of the bootargs */ - strncpy(bootargs, cp, MAX_BOOT_STRING - sizeof(int)); - - cp = bootargs; boot_file = bootargs; /* Skip the kernel image filename */ |