diff options
author | pfg <pfg@FreeBSD.org> | 2016-02-08 20:03:14 +0000 |
---|---|---|
committer | pfg <pfg@FreeBSD.org> | 2016-02-08 20:03:14 +0000 |
commit | 7a22e1974db175fdcb276d07d05ffabfba37bf29 (patch) | |
tree | f1e74a084d38ecdc25076880f5b734406cdbc617 /sys/boot/ficl | |
parent | ea701e02f2a7559b6ee56c976052a902c61fb854 (diff) | |
download | FreeBSD-src-7a22e1974db175fdcb276d07d05ffabfba37bf29.zip FreeBSD-src-7a22e1974db175fdcb276d07d05ffabfba37bf29.tar.gz |
ficl: Replace rand(3) with random(3).
Be a little more consistent with random(3) and push an
unsigned value.
Again, this has no effect as this code doesn't get compiled
for the boot code.
Diffstat (limited to 'sys/boot/ficl')
-rw-r--r-- | sys/boot/ficl/words.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/boot/ficl/words.c b/sys/boot/ficl/words.c index 5537b13..0e8f2c4 100644 --- a/sys/boot/ficl/words.c +++ b/sys/boot/ficl/words.c @@ -4822,7 +4822,7 @@ WORDKIND ficlWordClassify(FICL_WORD *pFW) **************************************************************************/ static void ficlRandom(FICL_VM *pVM) { - PUSHINT(random()); + PUSHUNS(random()); } |