aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--nandtest.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/nandtest.c b/nandtest.c
index db7f427..b3aacaf 100644
--- a/nandtest.c
+++ b/nandtest.c
@@ -173,6 +173,7 @@ int main(int argc, char **argv)
case 's':
seed = atol(optarg);
+ srand(seed);
break;
case 'p':