summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gl/lib/tempname.c.diff2
1 files changed, 1 insertions, 1 deletions
diff --git a/gl/lib/tempname.c.diff b/gl/lib/tempname.c.diff
index fcacf53db..3e30c972c 100644
--- a/gl/lib/tempname.c.diff
+++ b/gl/lib/tempname.c.diff
@@ -100,7 +100,7 @@ index 2da5afe..562955a 100644
- }
-#endif
- value += random_time_bits ^ __getpid ();
-+ rand_src = randint_all_new (NULL, 8);
++ rand_src = randint_all_new (NULL, x_suffix_len);
+ if (! rand_src)
+ return -1;