summaryrefslogtreecommitdiff
path: root/source3/passdb
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2012-03-28 13:32:54 +1100
committerAndrew Bartlett <abartlet@samba.org>2012-04-05 02:39:09 +0200
commit1ac7f071ce2191599b99eddfb4fb595d2d1f474f (patch)
treea83cf9e1d4a96849a30d9761b16b60d2ff39177f /source3/passdb
parent6098f8d80cb37fba7d2f245ee1a5c184b0f27aea (diff)
downloadsamba-1ac7f071ce2191599b99eddfb4fb595d2d1f474f.tar.gz
samba-1ac7f071ce2191599b99eddfb4fb595d2d1f474f.tar.bz2
samba-1ac7f071ce2191599b99eddfb4fb595d2d1f474f.zip
build: Remove SMB_F* locking defines
Diffstat (limited to 'source3/passdb')
-rw-r--r--source3/passdb/pdb_smbpasswd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/passdb/pdb_smbpasswd.c b/source3/passdb/pdb_smbpasswd.c
index f5c5b20ebd..9146ed281c 100644
--- a/source3/passdb/pdb_smbpasswd.c
+++ b/source3/passdb/pdb_smbpasswd.c
@@ -102,7 +102,7 @@ static bool do_file_lock(int fd, int waitsecs, int type)
alarm(waitsecs);
/* Note we must *NOT* use sys_fcntl here ! JRA */
- ret = fcntl(fd, SMB_F_SETLKW, &lock);
+ ret = fcntl(fd, F_SETLKW, &lock);
alarm(0);
CatchSignal(SIGALRM, oldsig_handler);