summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/lib/sids.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/sids.c b/source3/lib/sids.c
index 9b11f4dea1..de0eb40d9f 100644
--- a/source3/lib/sids.c
+++ b/source3/lib/sids.c
@@ -326,7 +326,7 @@ BOOL generate_sam_sid(char *domain_name)
if (file_exist(machine_sid_file, NULL))
{
- if (file_exist(machine_sid_file, NULL))
+ if (file_exist(sid_file, NULL))
{
DEBUG(0,("both %s and %s exist when only one should, unable to continue\n",
machine_sid_file, sid_file));