summaryrefslogtreecommitdiffstats
path: root/sys/kern/uipc_cow.c
diff options
context:
space:
mode:
authoralfred <alfred@FreeBSD.org>2002-06-29 01:49:22 +0000
committeralfred <alfred@FreeBSD.org>2002-06-29 01:49:22 +0000
commitd92411ce7ab4b178ff55c7f84e10521c0c933e1b (patch)
treea34dee7f00c234f53779e4ed49a9950dbca4feff /sys/kern/uipc_cow.c
parent9929e0fcf8d2ea7cbd4f814b83c21b888e34d3d8 (diff)
downloadFreeBSD-src-d92411ce7ab4b178ff55c7f84e10521c0c933e1b.zip
FreeBSD-src-d92411ce7ab4b178ff55c7f84e10521c0c933e1b.tar.gz
catch up with mextadd callback taking a void argument instead of a caddr_t.
Diffstat (limited to 'sys/kern/uipc_cow.c')
-rw-r--r--sys/kern/uipc_cow.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/uipc_cow.c b/sys/kern/uipc_cow.c
index 239e7c5..ed76064 100644
--- a/sys/kern/uipc_cow.c
+++ b/sys/kern/uipc_cow.c
@@ -85,10 +85,10 @@ extern vm_offset_t sf_base;
#define dtosf(x) (&sf_bufs[((uintptr_t)(x) - (uintptr_t)sf_base) >> PAGE_SHIFT])
void sf_buf_free(caddr_t addr, void *args);
struct sf_buf *sf_buf_alloc(void);
-static void socow_iodone(caddr_t addr, void *args);
+static void socow_iodone(void *addr, void *args);
static void
-socow_iodone(caddr_t addr, void *args)
+socow_iodone(void *addr, void *args)
{
int s;
struct sf_buf *sf;
OpenPOWER on IntegriCloud