shithub: sce

Download patch

ref: d3ecaa35ddf467c0545c6c1bb10a5ceea356bc93
parent: 926d947260f129e14654dd68bb4a305226118e3d
author: qwx <qwx@sciops.net>
date: Fri Oct 2 03:22:20 EDT 2020

fs: aaaaand fix the srand fix!

--- a/fs.c
+++ b/fs.c
@@ -620,6 +620,6 @@
 		fprint(2, "init: %r\n");
 	loaddb(dbname);
 	loaddb(mapname);
-	srand();
+	srand(time(nil));
 	initdb();
 }