X-Git-Url: http://git.vrable.net/?a=blobdiff_plain;f=scandir.cc;h=52c82f8104702bd16d7025e937c5ece5f26fd451;hb=a7c068d940ab32b75dc2dfaf11146b363f95ca88;hp=64a0dbf63b3f83168b69be257939a86e8a22ebab;hpb=6e7d9688683887ba53ea2858771a13fdafd16edf;p=cumulus.git diff --git a/scandir.cc b/scandir.cc index 64a0dbf..52c82f8 100644 --- a/scandir.cc +++ b/scandir.cc @@ -485,9 +485,10 @@ int main(int argc, char *argv[]) root->checksum(); segment_list.insert(root->get_ref().get_segment()); - descriptor << "Root: " << root->get_ref().to_string() << "\n"; + descriptor << "Format: LBS Snapshot v0.1\n"; strftime(desc_buf, sizeof(desc_buf), "%Y-%m-%d %H:%M:%S %z", &time_buf); descriptor << "Date: " << desc_buf << "\n"; + descriptor << "Root: " << root->get_ref().to_string() << "\n"; delete root;