monmaptool: srand when generating fsid

This commit is contained in:
Sage Weil 2008-04-09 11:09:49 -07:00
parent 9269ea6bee
commit 132bbec968

View File

@ -111,6 +111,7 @@ int main(int argc, const char **argv)
}
if (create) {
srand(getpid() + time(0));
monmap.generate_fsid();
cout << me << ": generated fsid " << monmap.fsid << std::endl;
modified++;