From 38daf36d124fbec74afba3a834481001d8000bc6 Mon Sep 17 00:00:00 2001 From: James Peach Date: Wed, 23 May 2007 20:38:14 +0000 Subject: r23096: Make the lock failure message prettier. (This used to be commit 853f41edb8b23d7fdfaba9c4bb37dc27af92a982) --- source3/locking/posix.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'source3/locking') diff --git a/source3/locking/posix.c b/source3/locking/posix.c index 8bb7f605e3..338ee0416b 100644 --- a/source3/locking/posix.c +++ b/source3/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 -- cgit