diff options
Diffstat (limited to 'source3')
-rw-r--r-- | source3/passdb/smbpass.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/passdb/smbpass.c b/source3/passdb/smbpass.c index 4a1d89bd06..701d796c56 100644 --- a/source3/passdb/smbpass.c +++ b/source3/passdb/smbpass.c @@ -146,7 +146,7 @@ static void *startsmbfilepwent_internal(const char *pfile, enum pwf_access_type } /* Set a buffer to do more efficient reads */ - setvbuf(fp, (char *)NULL, _IOLBF, 0); + setvbuf(fp, (char *)NULL, _IOFBF, 1024); /* Make sure it is only rw by the owner */ chmod(pfile, 0600); |