svn commit: r279877 - stable/10/sys/boot/fdt

Adrian Chadd adrian at freebsd.org
Sat Apr 4 20:02:11 UTC 2015


On 4 April 2015 at 02:17, Ed Schouten <ed at 80386.nl> wrote:
> 2015-04-04 11:16 GMT+02:00 Ed Schouten <ed at 80386.nl>:
>> Couldn't this use calloc() instead?
>
> Oh, wait. This is the boot loader. The boot loader wouldn't
> necessarily have a calloc() function.


.. why not? Wouldn't it be worth the code savings to have calloc
versus malloc + bzero everywhere?


-adrian


More information about the svn-src-all mailing list