[patch init.c] replace malloc memset with calloc

2014-04-22 Thread peter
Hi, Another replacement of malloc memset with calloc. This time in init.c. Also added a check as non existed prior to this. Index: init.c === RCS file: /cvs/src/sbin/init/init.c,v retrieving revision 1.49 diff -u -p -u -r1.49

Re: [patch init.c] replace malloc memset with calloc

2014-04-22 Thread Stefan Sperling
On Tue, Apr 22, 2014 at 03:58:23PM -0400, pe...@petermalone.org wrote: Hi, Another replacement of malloc memset with calloc. This time in init.c. Also added a check as non existed prior to this. Index: init.c === RCS file:

Re: [patch init.c] replace malloc memset with calloc

2014-04-22 Thread Stefan Sperling
On Tue, Apr 22, 2014 at 10:07:10PM +0200, Stefan Sperling wrote: On Tue, Apr 22, 2014 at 03:58:23PM -0400, pe...@petermalone.org wrote: Hi, Another replacement of malloc memset with calloc. This time in init.c. Also added a check as non existed prior to this. Index: init.c

Re: [patch init.c] replace malloc memset with calloc

2014-04-22 Thread peter
No worries. :) Quoting Stefan Sperling s...@openbsd.org: On Tue, Apr 22, 2014 at 10:07:10PM +0200, Stefan Sperling wrote: On Tue, Apr 22, 2014 at 03:58:23PM -0400, pe...@petermalone.org wrote: Hi, Another replacement of malloc memset with calloc. This time in init.c. Also added a check