Date: Mon, 8 Feb 2016 20:03:14 +0000 (UTC) From: "Pedro F. Giffuni" <pfg@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r295410 - head/sys/boot/ficl Message-ID: <201602082003.u18K3EKH018513@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: pfg Date: Mon Feb 8 20:03:14 2016 New Revision: 295410 URL: https://svnweb.freebsd.org/changeset/base/295410 Log: 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. Modified: head/sys/boot/ficl/words.c Modified: head/sys/boot/ficl/words.c ============================================================================== --- head/sys/boot/ficl/words.c Mon Feb 8 19:45:55 2016 (r295409) +++ head/sys/boot/ficl/words.c Mon Feb 8 20:03:14 2016 (r295410) @@ -4822,7 +4822,7 @@ WORDKIND ficlWordClassify(FICL_WORD *pFW **************************************************************************/ static void ficlRandom(FICL_VM *pVM) { - PUSHINT(random()); + PUSHUNS(random()); }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201602082003.u18K3EKH018513>