summaryrefslogtreecommitdiff
path: root/source3/smbd/files.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>1998-10-08 06:21:33 +0000
committerAndrew Tridgell <tridge@samba.org>1998-10-08 06:21:33 +0000
commit788263ba2f749c5bb1546ca6c9363fd508e94280 (patch)
treef5b278f2db2295ad17ec2c0ac824ce52c809cb2c /source3/smbd/files.c
parent60877fdd8d19015214396de02f62b5ff999199f3 (diff)
downloadsamba-788263ba2f749c5bb1546ca6c9363fd508e94280.tar.gz
samba-788263ba2f749c5bb1546ca6c9363fd508e94280.tar.bz2
samba-788263ba2f749c5bb1546ca6c9363fd508e94280.zip
- fixed a bunch of warnings and minor errors
- got smbtorture to compile - removed %D from some of lukes code - Luke, what is %D? it ain't portable anyway (This used to be commit 91597c12fb593f49b23c7cea5b64dbb89a0428b3)
Diffstat (limited to 'source3/smbd/files.c')
-rw-r--r--source3/smbd/files.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/files.c b/source3/smbd/files.c
index 6afa059753..4030ad4c49 100644
--- a/source3/smbd/files.c
+++ b/source3/smbd/files.c
@@ -202,7 +202,7 @@ initialise file structures
void file_init(void)
{
- int real_max_open_files, lim;
+ int lim;
lim = set_maxfiles();
lim = MIN(lim, lp_max_open_files());