summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/utils/profiles.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/utils/profiles.c b/source3/utils/profiles.c
index 14b480cd16..2ed102b677 100644
--- a/source3/utils/profiles.c
+++ b/source3/utils/profiles.c
@@ -408,7 +408,7 @@ int my_sid_equal(DOM_SID *s1, DOM_SID *s2)
if (sa1 != sa2) return 0;
- return !bcmp((char *)&s1->id_auth, (char *)&s2->id_auth,
+ return !memcmp((char *)&s1->id_auth, (char *)&s2->id_auth,
6 + sa1 * 4);
}