diff options
author | Andrew Tridgell <tridge@samba.org> | 1998-11-21 01:26:45 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 1998-11-21 01:26:45 +0000 |
commit | 58e14b7c0b329905f9981bbbc5867e061f1f22b7 (patch) | |
tree | 36297e10af751435d5422e045d3720591fbf166e /source3 | |
parent | bb5fab7b553dc18d8b0c03f6a65ee92586752955 (diff) | |
download | samba-58e14b7c0b329905f9981bbbc5867e061f1f22b7.tar.gz samba-58e14b7c0b329905f9981bbbc5867e061f1f22b7.tar.bz2 samba-58e14b7c0b329905f9981bbbc5867e061f1f22b7.zip |
add a error code when failed to get lock
(This used to be commit 05696b4bbfb66bfdbdc19f395efe062ac890bc41)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/smbwrapper/shared.c | 2 |
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++; |