X-Git-Url: http://git.vrable.net/?a=blobdiff_plain;f=metadata.cc;h=e1ea1aa18b87a04bd3db29ac251a4c58c9e5db85;hb=92488d46a0deca6d031d07852c3b79214280ab6d;hp=d9463869af4bdfed799bcc654ebfac970d9af95b;hpb=910255ec7fb85ef6c7b9515e9761892ca408c389;p=cumulus.git diff --git a/metadata.cc b/metadata.cc index d946386..e1ea1aa 100644 --- a/metadata.cc +++ b/metadata.cc @@ -24,6 +24,8 @@ * handling of the statcache, and re-use of metadata between snapshots. */ +#include +#include #include #include #include @@ -126,7 +128,7 @@ MetadataWriter::MetadataWriter(TarSegmentStore *store, if (statcache_out == NULL) { fprintf(stderr, "Error opening statcache %s: %m\n", statcache_tmp_path.c_str()); - throw IOException("Error opening statcache"); + fatal("Error opening statcache"); } old_metadata_eof = false;