Module Name: src Committed By: dholland Date: Mon Sep 5 17:42:57 UTC 2016
Modified Files: src/sys/kern: core_elf32.c Log Message: Build fix for when COREDUMP is turned off, from Ray Phillips in PR 51460. To generate a diff of this commit: cvs rdiff -u -r1.47 -r1.48 src/sys/kern/core_elf32.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/kern/core_elf32.c diff -u src/sys/kern/core_elf32.c:1.47 src/sys/kern/core_elf32.c:1.48 --- src/sys/kern/core_elf32.c:1.47 Mon Jun 27 01:46:04 2016 +++ src/sys/kern/core_elf32.c Mon Sep 5 17:42:57 2016 @@ -1,4 +1,4 @@ -/* $NetBSD: core_elf32.c,v 1.47 2016/06/27 01:46:04 christos Exp $ */ +/* $NetBSD: core_elf32.c,v 1.48 2016/09/05 17:42:57 dholland Exp $ */ /* * Copyright (c) 2001 Wasabi Systems, Inc. @@ -40,7 +40,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(1, "$NetBSD: core_elf32.c,v 1.47 2016/06/27 01:46:04 christos Exp $"); +__KERNEL_RCSID(1, "$NetBSD: core_elf32.c,v 1.48 2016/09/05 17:42:57 dholland Exp $"); #ifdef _KERNEL_OPT #include "opt_coredump.h" @@ -562,7 +562,7 @@ ELFNAMEEND(coredump_savenote)(struct not #else /* COREDUMP */ int -ELFNAMEEND(coredump)(struct lwp *l, void *cookie) +ELFNAMEEND(coredump)(struct lwp *l, struct coredump_iostate *cookie) { return ENOSYS;