summaryrefslogtreecommitdiffstats
path: root/source/utils/profiles.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2003-02-03 20:38:01 +0000
committerJeremy Allison <jra@samba.org>2003-02-03 20:38:01 +0000
commite96978954b830d83880f03b6825bce6e7b53b5d7 (patch)
treea024108b96fa927e975caae4265735f935d17c17 /source/utils/profiles.c
parent60955d1b81b2b2af4df455ed68721339aaf05a00 (diff)
downloadsamba-e96978954b830d83880f03b6825bce6e7b53b5d7.tar.gz
samba-e96978954b830d83880f03b6825bce6e7b53b5d7.tar.xz
samba-e96978954b830d83880f03b6825bce6e7b53b5d7.zip
Grrr. Kill all BSD-isms... Spotted by Paul Green <paulg@sw.stratus.com>.
Jeremy.
Diffstat (limited to 'source/utils/profiles.c')
-rw-r--r--source/utils/profiles.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/utils/profiles.c b/source/utils/profiles.c
index 14b480cd164..2ed102b6775 100644
--- a/source/utils/profiles.c
+++ b/source/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);
}