zfs/lib/libshare
Tomohiro Kusumi 8111eb4abc Fix calloc(3) arguments order
calloc(3) takes `nelem` (or `nmemb` in glibc) first, and then size of
elements.  No difference expected for having these in reverse order,
however should follow the standard.

http://pubs.opengroup.org/onlinepubs/009695399/functions/calloc.html

Reviewed-by: Tony Hutter <hutter2@llnl.gov>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Tomohiro Kusumi <kusumi.tomohiro@osnexus.com>
Closes #7405
2018-04-12 10:50:39 -07:00
..
Makefile.am Support -fsanitize=address with --enable-asan 2018-01-10 10:49:27 -08:00
libshare.c Fix calloc(3) arguments order 2018-04-12 10:50:39 -07:00
libshare_impl.h cstyle: Resolve C style issues 2013-12-18 16:46:35 -08:00
nfs.c Fix nfs snapdir automount 2017-03-08 09:26:33 -08:00
nfs.h Implemented sharing datasets via NFS using libshare. 2011-07-06 09:20:28 -07:00
smb.c Use cstyle -cpP in `make cstyle` check 2016-12-12 10:46:26 -08:00
smb.h cstyle: Resolve C style issues 2013-12-18 16:46:35 -08:00