summaryrefslogtreecommitdiffstats
path: root/source
diff options
context:
space:
mode:
authorJames Peach <jpeach@samba.org>2007-05-23 20:38:14 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:22:45 -0500
commit853f41edb8b23d7fdfaba9c4bb37dc27af92a982 (patch)
treeb9873beedab0b96b2c3c3fd8a787dd12b5375c36 /source
parentf1e8de4b576b3954d456cb64c02417908bab8da4 (diff)
downloadsamba-853f41edb8b23d7fdfaba9c4bb37dc27af92a982.tar.gz
samba-853f41edb8b23d7fdfaba9c4bb37dc27af92a982.tar.xz
samba-853f41edb8b23d7fdfaba9c4bb37dc27af92a982.zip
r23096: Make the lock failure message prettier.
Diffstat (limited to 'source')
-rw-r--r--source/locking/posix.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source/locking/posix.c b/source/locking/posix.c
index 8bb7f605e35..338ee0416b7 100644
--- a/source/locking/posix.c
+++ b/source/locking/posix.c
@@ -195,8 +195,8 @@ static BOOL posix_fcntl_lock(files_struct *fsp, int op, SMB_OFF_T offset, SMB_OF
DEBUG(0,("posix_fcntl_lock: WARNING: lock request at offset %.0f, length %.0f returned\n",
(double)offset,(double)count));
- DEBUG(0,("an %s error. This can happen when using 64 bit lock offsets\n", strerror(errno)));
- DEBUG(0,("on 32 bit NFS mounted file systems.\n"));
+ DEBUGADD(0,("an %s error. This can happen when using 64 bit lock offsets\n", strerror(errno)));
+ DEBUGADD(0,("on 32 bit NFS mounted file systems.\n"));
/*
* If the offset is > 0x7FFFFFFF then this will cause problems on
@@ -240,8 +240,8 @@ static BOOL posix_fcntl_getlock(files_struct *fsp, SMB_OFF_T *poffset, SMB_OFF_T
DEBUG(0,("posix_fcntl_getlock: WARNING: lock request at offset %.0f, length %.0f returned\n",
(double)*poffset,(double)*pcount));
- DEBUG(0,("an %s error. This can happen when using 64 bit lock offsets\n", strerror(errno)));
- DEBUG(0,("on 32 bit NFS mounted file systems.\n"));
+ DEBUGADD(0,("an %s error. This can happen when using 64 bit lock offsets\n", strerror(errno)));
+ DEBUGADD(0,("on 32 bit NFS mounted file systems.\n"));
/*
* If the offset is > 0x7FFFFFFF then this will cause problems on