summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/smbwrapper/shared.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbwrapper/shared.c b/source3/smbwrapper/shared.c
index f679e4a8a8..010c5ae19a 100644
--- a/source3/smbwrapper/shared.c
+++ b/source3/smbwrapper/shared.c
@@ -82,7 +82,7 @@ static void lockit(void)
}
if (locked==0 &&
fcntl_lock(shared_fd,SMB_F_SETLKW,0,1,F_WRLCK)==False) {
- DEBUG(0,("ERROR: can't get smbw shared lock\n"));
+ DEBUG(0,("ERROR: can't get smbw shared lock (%s)\n", strerror(errno)));
exit(1);
}
locked++;