summaryrefslogtreecommitdiff
path: root/lib/replace
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2012-03-24 21:18:55 +0100
committerJelmer Vernooij <jelmer@samba.org>2012-03-25 00:13:59 +0100
commit3c9b32b5eb1220b8521f768bab8dc07a40de93f5 (patch)
treec67cd9a4f7d3892124a176f7694e64314f778cc2 /lib/replace
parent49eca290d37ad7564a3be3332ee76020ddb5a03f (diff)
downloadsamba-3c9b32b5eb1220b8521f768bab8dc07a40de93f5.tar.gz
samba-3c9b32b5eb1220b8521f768bab8dc07a40de93f5.tar.bz2
samba-3c9b32b5eb1220b8521f768bab8dc07a40de93f5.zip
replace: Avoid DEBUG(), which is not available in libreplace.
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sun Mar 25 00:13:59 CET 2012 on sn-devel-104
Diffstat (limited to 'lib/replace')
-rw-r--r--lib/replace/replace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/replace/replace.c b/lib/replace/replace.c
index 892f56792c..c076ba1fc8 100644
--- a/lib/replace/replace.c
+++ b/lib/replace/replace.c
@@ -851,7 +851,7 @@ void *rep_memalign( size_t align, size_t size )
size_t pagesize = (size_t)-1;
#endif
if (pagesize == (size_t)-1) {
- DEBUG(0,("memalign functionality not available on this platform!\n"));
+ errno = ENOSYS;
return NULL;
}
if (size < pagesize) {