summaryrefslogtreecommitdiffstats
path: root/source/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
commit91597c12fb593f49b23c7cea5b64dbb89a0428b3 (patch)
tree8f7a839029de12844d40490849bad9d2eb0447ae /source/smbd/files.c
parent230e4eb3dd9753899564fd6ec0e0291ee00be8c4 (diff)
downloadsamba-91597c12fb593f49b23c7cea5b64dbb89a0428b3.tar.gz
samba-91597c12fb593f49b23c7cea5b64dbb89a0428b3.tar.xz
samba-91597c12fb593f49b23c7cea5b64dbb89a0428b3.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
Diffstat (limited to 'source/smbd/files.c')
-rw-r--r--source/smbd/files.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/smbd/files.c b/source/smbd/files.c
index 6afa0597535..4030ad4c498 100644
--- a/source/smbd/files.c
+++ b/source/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());