https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=215422

--- Comment #2 from Ed Maste <ema...@freebsd.org> ---
lidl@ noted the use of srand(), used to select the qsort pivot. The output is
reproducible for me with the following diff:

diff --git a/sys/dev/bhnd/tools/nvram_map_gen.awk
b/sys/dev/bhnd/tools/nvram_map_gen.awk
index 834bd1f..74fa58f 100755
--- a/sys/dev/bhnd/tools/nvram_map_gen.awk
+++ b/sys/dev/bhnd/tools/nvram_map_gen.awk
@@ -52,9 +52,6 @@ function main(_i) {
                AWK_REQ_HEX_PARSING=1
        }

-       # Seed rand()
-       srand()
-
        # Output type
        OUT_T = null
        OUT_T_HEADER = "HEADER"

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"

Reply via email to