summaryrefslogtreecommitdiff
path: root/lib/talloc
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2012-01-02 14:27:37 +0100
committerVolker Lendecke <vl@samba.org>2012-01-02 14:59:59 +0100
commit0bee8719b2dffc98557b9b3d68bb589b5589f3a4 (patch)
tree955f2abbfc5e80635bb640c160ff92828ee158ff /lib/talloc
parent48804e40d4db0423c287f3e30c23e89984f997b2 (diff)
downloadsamba-0bee8719b2dffc98557b9b3d68bb589b5589f3a4.tar.gz
talloc: Fix a typo
Diffstat (limited to 'lib/talloc')
-rw-r--r--lib/talloc/talloc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/talloc/talloc.c b/lib/talloc/talloc.c
index 2098a329031..8c71cc74ca8 100644
--- a/lib/talloc/talloc.c
+++ b/lib/talloc/talloc.c
@@ -1176,7 +1176,7 @@ _PUBLIC_ void *talloc_check_name(const void *ptr, const char *name)
return NULL;
}
-static void talloc_abort_type_missmatch(const char *location,
+static void talloc_abort_type_mismatch(const char *location,
const char *name,
const char *expected)
{
@@ -1199,7 +1199,7 @@ _PUBLIC_ void *_talloc_get_type_abort(const void *ptr, const char *name, const c
const char *pname;
if (unlikely(ptr == NULL)) {
- talloc_abort_type_missmatch(location, NULL, name);
+ talloc_abort_type_mismatch(location, NULL, name);
return NULL;
}
@@ -1208,7 +1208,7 @@ _PUBLIC_ void *_talloc_get_type_abort(const void *ptr, const char *name, const c
return discard_const_p(void, ptr);
}
- talloc_abort_type_missmatch(location, pname, name);
+ talloc_abort_type_mismatch(location, pname, name);
return NULL;
}