diff options
author | Paul Pluzhnikov <ppluzhnikov@google.com> | 2023-05-20 13:37:47 +0000 |
---|---|---|
committer | Paul Pluzhnikov <ppluzhnikov@google.com> | 2023-06-02 01:39:48 +0000 |
commit | 7f0d9e61f40c669fca3cfd1e342fa8236c7220b7 (patch) | |
tree | e02ce0ba813f2cb4f20643988ec030292784cab6 /stdlib/tst-random.c | |
parent | 5013f6fc6c44160e8ec6bcd34ba676e85d9d6ab6 (diff) | |
download | glibc-7f0d9e61f40c669fca3cfd1e342fa8236c7220b7.tar.gz glibc-7f0d9e61f40c669fca3cfd1e342fa8236c7220b7.tar.xz glibc-7f0d9e61f40c669fca3cfd1e342fa8236c7220b7.zip |
Fix all the remaining misspellings -- BZ 25337
Diffstat (limited to 'stdlib/tst-random.c')
-rw-r--r-- | stdlib/tst-random.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/stdlib/tst-random.c b/stdlib/tst-random.c index 794d12a385..516beecef5 100644 --- a/stdlib/tst-random.c +++ b/stdlib/tst-random.c @@ -7,14 +7,14 @@ is regenerated twice and checked against the stored values. First they are regenerated one sequence at a time, using srandom() - to set the initial state. A discrepency here would suggest that + to set the initial state. A discrepancy here would suggest that srandom() was failing to completely initialize the random number generator. Second the sequences are regenerated in an interleaved order. A state vector is created for each sequence using initstate(). setstate() is used to switch from sequence to sequence during - the interleaved generation. A discrepency here would suggest + the interleaved generation. A discrepancy here would suggest a problem with either initstate() failing to initialize the random number generator properly, or the failure of setstate() to correctly save and restore state information. Also, each @@ -54,7 +54,7 @@ do_test (void) int s; /* sequence index */ int i; /* element index */ - printf ("Begining random package test using %d sequences of length %d.\n", + printf ("Beginning random package test using %d sequences of length %d.\n", nseq, nrnd); /* 1. Generate and store the sequences. */ |