aboutsummaryrefslogtreecommitdiff
path: root/benchtests/bench-string.h
diff options
context:
space:
mode:
Diffstat (limited to 'benchtests/bench-string.h')
-rw-r--r--benchtests/bench-string.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/benchtests/bench-string.h b/benchtests/bench-string.h
index e1014ead77..9d3332a624 100644
--- a/benchtests/bench-string.h
+++ b/benchtests/bench-string.h
@@ -156,7 +156,7 @@ cmdline_process_function (int c)
case OPT_RANDOM:
{
int fdr = open ("/dev/urandom", O_RDONLY);
- if (fdr < 0 || read (fdr, &seed, sizeof(seed)) != sizeof (seed))
+ if (fdr < 0 || read (fdr, &seed, sizeof (seed)) != sizeof (seed))
seed = time (NULL);
if (fdr >= 0)
close (fdr);