summaryrefslogtreecommitdiff
path: root/kexec/arch/sh/kexec-netbsd-sh.c
diff options
context:
space:
mode:
Diffstat (limited to 'kexec/arch/sh/kexec-netbsd-sh.c')
-rw-r--r--kexec/arch/sh/kexec-netbsd-sh.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/kexec/arch/sh/kexec-netbsd-sh.c b/kexec/arch/sh/kexec-netbsd-sh.c
index a9f57b8..ea67172 100644
--- a/kexec/arch/sh/kexec-netbsd-sh.c
+++ b/kexec/arch/sh/kexec-netbsd-sh.c
@@ -33,7 +33,7 @@ const extern unsigned char netbsd_booter[];
*
* Make sure that the file image has a reasonable chance of working.
*/
-int netbsd_sh_probe(const char *buf, off_t len)
+int netbsd_sh_probe(const char *buf, off_t UNUSED(len))
{
Elf32_Ehdr *ehdr;
@@ -54,7 +54,7 @@ void netbsd_sh_usage(void)
" --miniroot=FILE NetBSD miniroot ramdisk.\n\n");
}
-int netbsd_sh_load(int argc, char **argv, const char *buf, off_t len,
+int netbsd_sh_load(int argc, char **argv, const char *buf, off_t UNUSED(len),
struct kexec_info *info)
{
const char *howto, *miniroot;