shithub: orca

Download patch

ref: 857c7c44307e8e8b5f7ec9a95f6e12edb161d234
parent: 0ce117fceb04b089bad16df2b7b8615dd0157fe7
author: Sigrid Haflínudóttir <ftrvxmtrx@gmail.com>
date: Mon Feb 17 08:45:18 EST 2020

plan9: better error if fasthz is invalid

--- a/plan9.c
+++ b/plan9.c
@@ -282,7 +282,7 @@
 			strtoll(e, &e, 10);
 		fasthz = strtoll(e, nil, 10);
 		if (fasthz < 1)
-			sysfatal("failed to read fasthz");
+			sysfatal("failed to read or invalid fasthz");
 		close(f);
 		cycles(&xstart);
 	}