From 3a46a82a8b776b4882fa347ffff785743bfd7e54 Mon Sep 17 00:00:00 2001 From: Miles Bader Date: Fri, 20 Jun 1997 05:24:46 +0000 Subject: (store_clone): Use _store_create instead of _make_store. Update FSF address. --- libstore/clone.c | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/libstore/clone.c b/libstore/clone.c index 40647af2..cdbd5747 100644 --- a/libstore/clone.c +++ b/libstore/clone.c @@ -1,9 +1,7 @@ /* Store cloning - Copyright (C) 1996 Free Software Foundation, Inc. - + Copyright (C) 1996, 1997 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 @@ -18,7 +16,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ + Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA. */ #include #include @@ -29,13 +27,13 @@ error_t store_clone (struct store *from, struct store **to) { - error_t err = 0; - struct store *c = - _make_store (from->class, from->port, from->flags, from->block_size, - from->runs, from->num_runs, from->end); + struct store *c; + error_t err = + _store_create (from->class, from->port, from->flags, from->block_size, + from->runs, from->num_runs, from->end, &c); - if (! c) - return ENOMEM; + if (err) + return err; if (from->name) { -- cgit v1.2.3