mirror_zfs/lib/libspl/include
Brian Behlendorf 3df293404a Fix type mismatch on 32-bit systems
The umem_alloc_aligned() function should not assume that a 'void *'
type is 64-bit.  It will not be on 32-bit platforms.  Rather than
complicating the ASSERT to handle this it is simply removed.

Additionally, the '%lu' format specifier should not be assumed to
imply a 64-bit value.  Fix this by using the 'llu' format specifier
which will always be atleast 64-bit and explicitly casing the
variable to an u_longlong_t.  This issue is handled the same way
in many other parts of the code.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
2015-05-11 12:15:41 -07:00
..
ia32 Remove autotools products 2012-08-27 11:47:44 -07:00
rpc cstyle: Resolve C style issues 2013-12-18 16:46:35 -08:00
sys Illumos 3897 - zfs filesystem and snapshot limits 2015-04-28 16:22:51 -07:00
util cstyle: Resolve C style issues 2013-12-18 16:46:35 -08:00
assert.h cstyle: Resolve C style issues 2013-12-18 16:46:35 -08:00
atomic.h Add atomic_sub_* functions to libspl. 2012-10-17 08:56:37 -07:00
attr.h Add linux libspl support 2010-08-31 13:41:59 -07:00
devid.h cstyle: Resolve C style issues 2013-12-18 16:46:35 -08:00
libdevinfo.h cstyle: Resolve C style issues 2013-12-18 16:46:35 -08:00
libgen.h cstyle: Resolve C style issues 2013-12-18 16:46:35 -08:00
libshare.h cstyle: Resolve C style issues 2013-12-18 16:46:35 -08:00
limits.h cstyle: Resolve C style issues 2013-12-18 16:46:35 -08:00
locale.h cstyle: Resolve C style issues 2013-12-18 16:46:35 -08:00
Makefile.am Fix implicit declaration of 'mkdirp' 2011-07-01 13:39:47 -07:00
note.h cstyle: Resolve C style issues 2013-12-18 16:46:35 -08:00
priv.h cstyle: Resolve C style issues 2013-12-18 16:46:35 -08:00
statcommon.h Add linux libspl support 2010-08-31 13:41:59 -07:00
stdio.h cstyle: Resolve C style issues 2013-12-18 16:46:35 -08:00
stdlib.h cstyle: Resolve C style issues 2013-12-18 16:46:35 -08:00
string.h cstyle: Resolve C style issues 2013-12-18 16:46:35 -08:00
strings.h cstyle: Resolve C style issues 2013-12-18 16:46:35 -08:00
stropts.h Add linux libspl support 2010-08-31 13:41:59 -07:00
synch.h libspl: Implement LWP rwlock interface 2014-05-01 15:53:52 -07:00
thread.h cstyle: Resolve C style issues 2013-12-18 16:46:35 -08:00
tzfile.h cstyle: Resolve C style issues 2013-12-18 16:46:35 -08:00
ucred.h cstyle: Resolve C style issues 2013-12-18 16:46:35 -08:00
umem.h Fix type mismatch on 32-bit systems 2015-05-11 12:15:41 -07:00
unistd.h Retire HAVE_IOCTL_* configure checks 2014-08-28 07:45:54 -07:00
zone.h cstyle: Resolve C style issues 2013-12-18 16:46:35 -08:00