summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/client/mount.cifs.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/source3/client/mount.cifs.c b/source3/client/mount.cifs.c
index c89a477ef9..ec245ed200 100644
--- a/source3/client/mount.cifs.c
+++ b/source3/client/mount.cifs.c
@@ -541,7 +541,6 @@ static int parse_options(char ** optionsp, int * filesys_flags)
exit(1);
}
snprintf(user, sizeof(user), "%u", pw->pw_uid);
- endpwent();
} else {
strlcpy(user,value,sizeof(user));
}
@@ -558,7 +557,6 @@ static int parse_options(char ** optionsp, int * filesys_flags)
exit(1);
}
snprintf(group, sizeof(group), "%u", gr->gr_gid);
- endpwent();
} else {
strlcpy(group,value,sizeof(group));
}