From 732ec9340d1b092d1a6cbdc697fb10e8bf73fe18 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Mon, 12 Mar 2001 00:45:00 +0000 Subject: 2001-03-07 Roland McGrath * store.h (store_write, store_write_meth_t): Make buffer arg const*. * copy.c (copy_write): Likewise. * device.c (dev_write): Likewise. * file.c (file_write): Likewise. (file_byte_write): Likewise. * rdwr.c (store_write): Likewise. * remap.c (remap_write): Likewise. * stripe.c (stripe_write): Likewise. * task.c (task_write): Likewise. * zero.c (zero_write): Likewise. * mvol.c (zero_write): Likewise. --- libstore/mvol.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'libstore/mvol.c') diff --git a/libstore/mvol.c b/libstore/mvol.c index 18eacf40..f0c87f6c 100644 --- a/libstore/mvol.c +++ b/libstore/mvol.c @@ -1,7 +1,7 @@ /* Multiple-volume store backend - Copyright (C) 1996, 1997 Free Software Foundation, Inc. - Written by Miles Bader + Copyright (C) 1996,97,2001 Free Software Foundation, Inc. + Written by Miles Bader This file is part of the GNU Hurd. The GNU Hurd is free software; you can redistribute it and/or @@ -61,8 +61,8 @@ mvol_read (struct store *store, static error_t mvol_write (struct store *store, - store_offset_t addr, size_t index, void *buf, size_t len, - size_t *amount) + store_offset_t addr, size_t index, + const void *buf, size_t len, size_t *amount) { error_t err = ensure_vol (store, index); if (! err) @@ -117,7 +117,7 @@ store_mvol_create (struct store *phys, } else err = ENOMEM; - + if (! err) err = store_set_children (*store, &phys, 1); -- cgit v1.2.3