summaryrefslogtreecommitdiff
path: root/source3/passdb/passdb.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/passdb/passdb.c')
-rw-r--r--source3/passdb/passdb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/passdb/passdb.c b/source3/passdb/passdb.c
index 396781d2f0..4a86e095da 100644
--- a/source3/passdb/passdb.c
+++ b/source3/passdb/passdb.c
@@ -811,7 +811,7 @@ static BOOL read_sid_from_file(int fd, char *sid_file)
{
fstring fline;
- if(read(fd, &fline, sizeof(fline) -1 ) < 0) {
+ if(read(fd, fline, sizeof(fline) -1 ) < 0) {
DEBUG(0,("read_sid_from_file: unable to read file %s. Error was %s\n",
sid_file, strerror(errno) ));
return False;