s3: modules: Fix *allocate* calls to follow POSIX error return convention.
authorJeremy Allison <jra@samba.org>
Mon, 8 Dec 2014 03:50:54 +0000 (19:50 -0800)
committerKarolin Seeger <kseeger@samba.org>
Thu, 18 Dec 2014 20:30:05 +0000 (21:30 +0100)
commitde99f7e27d8dac54fbed751e479e8bad0a57e091
treeda4a113615f3ab5df81da9d504fe1e446a8770e1
parent0ad2013d90bc923d8eeb4b5ed3010224fa2d1e86
s3: modules: Fix *allocate* calls to follow POSIX error return convention.

Fix up the time_audit and streams_xattr modules to follow
the -1,errno convention for errors.

Reported by Jones <jones.kstw@gmail.com> who provided the
initial patch. This patch tested and confirmed working
by him as well.

Signed-off-by: Jeremy Allison <jra@samba.org>
source3/modules/vfs_streams_xattr.c
source3/modules/vfs_time_audit.c