aboutsummaryrefslogtreecommitdiffstats
path: root/unix.c
diff options
context:
space:
mode:
authorWilmer van der Gaast <wilmer@gaast.net>2005-12-14 00:21:21 +0100
committerWilmer van der Gaast <wilmer@gaast.net>2005-12-14 00:21:21 +0100
commit6aaa2213588f7c4c00a68c5622f6974679eaf196 (patch)
tree7aad536700d387bacd3003927e9ac3c531616259 /unix.c
parentab4afbab829a4a5bf520d4e1425a743cdb8c4865 (diff)
parentd3307e281afdbed22a561eb2cd73f97a03e3073d (diff)
More work on the storage abstraction layer from Jelmer.
Diffstat (limited to 'unix.c')
-rw-r--r--unix.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/unix.c b/unix.c
index 6813be31..75f0b11d 100644
--- a/unix.c
+++ b/unix.c
@@ -71,9 +71,10 @@ int main( int argc, char *argv[] )
if( i != 0 )
return( i );
- global.storage = storage_init( global.conf->storage );
+ global.storage = storage_init( global.conf->primary_storage,
+ global.conf->migrate_storage );
if ( global.storage == NULL) {
- log_message( LOGLVL_ERROR, "No such storage backend '%s'", global.conf->storage );
+ log_message( LOGLVL_ERROR, "Unable to load storage backend '%s'", global.conf->primary_storage );
return( 1 );
}