r11343: Remove dependency on DEBUG()
authorJelmer Vernooij <jelmer@samba.org>
Thu, 27 Oct 2005 23:02:47 +0000 (23:02 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:45:21 +0000 (13:45 -0500)
(This used to be commit 407b5e615f80ab2f7a3d10bafd9284de7f02fe60)

source4/lib/replace/replace.c

index d87a009e8c346ba032115e9843ed24ebc94d83da..5d3ef529872675a15f2c598d76586f39f06b1f45 100644 (file)
@@ -489,11 +489,6 @@ os/2 also doesn't have chroot
 #ifndef HAVE_CHROOT
 int chroot(const char *dname)
 {
-       static int done;
-       if (!done) {
-               DEBUG(1,("WARNING: no chroot!\n"));
-               done=1;
-       }
        errno = ENOSYS;
        return -1;
 }