diff options
author | James Peach <jpeach@samba.org> | 2007-05-23 20:38:14 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:22:45 -0500 |
commit | 38daf36d124fbec74afba3a834481001d8000bc6 (patch) | |
tree | c7d614173223f20b62ce7865aab4d974238c6386 /source3/locking | |
parent | f4ae28576376741a5402a286827a46c053db0ff7 (diff) | |
download | samba-38daf36d124fbec74afba3a834481001d8000bc6.tar.gz samba-38daf36d124fbec74afba3a834481001d8000bc6.tar.bz2 samba-38daf36d124fbec74afba3a834481001d8000bc6.zip |
r23096: Make the lock failure message prettier.
(This used to be commit 853f41edb8b23d7fdfaba9c4bb37dc27af92a982)
Diffstat (limited to 'source3/locking')
-rw-r--r-- | source3/locking/posix.c | 8 |
1 files changed, 4 insertions, 4 deletions
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 |