From 3205180fd93d6abd1e63f5d8b794881896f57493 Mon Sep 17 00:00:00 2001 From: whitequark Date: Fri, 26 Jun 2020 10:38:41 +0000 Subject: Revert "Make icebram deterministic" This reverts commit 2679c91b8a158aa4aca49dd726955e8c63cf7bef. --- icebram/icebram.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'icebram') diff --git a/icebram/icebram.cc b/icebram/icebram.cc index 97e6a2c..f585fcf 100644 --- a/icebram/icebram.cc +++ b/icebram/icebram.cc @@ -106,7 +106,7 @@ void help(const char *cmd) printf(" use the same file as later.\n"); printf("\n"); printf(" -s \n"); - printf(" seed random generator with the given value.\n"); + printf(" seed random generator with fixed value.\n"); printf("\n"); printf(" -v\n"); printf(" verbose output\n"); @@ -131,7 +131,7 @@ int main(int argc, char **argv) bool verbose = false; bool generate = false; bool seed = false; - uint32_t seed_nr = 0; + uint32_t seed_nr = getpid(); int opt; while ((opt = getopt(argc, argv, "vgs:")) != -1) -- cgit v1.2.3