From 931d28e6728e66c6efb222a9d2715ee54c51b5f0 Mon Sep 17 00:00:00 2001 From: christos Date: Sun, 3 Sep 2006 21:39:29 +0000 Subject: [PATCH] use c99 initializers --- sys/kern/vfs_bio.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/sys/kern/vfs_bio.c b/sys/kern/vfs_bio.c index e8bc56c68bd1..987b4cc491ee 100644 --- a/sys/kern/vfs_bio.c +++ b/sys/kern/vfs_bio.c @@ -1,4 +1,4 @@ -/* $NetBSD: vfs_bio.c,v 1.161 2006/05/25 14:27:28 yamt Exp $ */ +/* $NetBSD: vfs_bio.c,v 1.162 2006/09/03 21:39:29 christos Exp $ */ /*- * Copyright (c) 1982, 1986, 1989, 1993 @@ -82,7 +82,7 @@ #include "opt_softdep.h" #include -__KERNEL_RCSID(0, "$NetBSD: vfs_bio.c,v 1.161 2006/05/25 14:27:28 yamt Exp $"); +__KERNEL_RCSID(0, "$NetBSD: vfs_bio.c,v 1.162 2006/09/03 21:39:29 christos Exp $"); #include #include @@ -226,7 +226,9 @@ bufpool_page_free(struct pool *pp, void *v) } static struct pool_allocator bufmempool_allocator = { - bufpool_page_alloc, bufpool_page_free, MAXBSIZE, + .pa_alloc = bufpool_page_alloc, + .pa_free = bufpool_page_free, + .pa_pagesz = MAXBSIZE, }; /* Buffer memory management variables */