summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/talloc/talloc.3.xml2
-rw-r--r--lib/talloc/talloc.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/talloc/talloc.3.xml b/lib/talloc/talloc.3.xml
index cc36f60aa5..c23b911704 100644
--- a/lib/talloc/talloc.3.xml
+++ b/lib/talloc/talloc.3.xml
@@ -362,7 +362,7 @@ talloc_set_name_const(ptr, name);</programlisting>
<refsect2><title>void *talloc_new(void *<emphasis role="italic">ctx</emphasis>);</title>
<para>
This is a utility macro that creates a new memory context hanging
- off an exiting context, automatically naming it "talloc_new:
+ off an existing context, automatically naming it "talloc_new:
__location__" where __location__ is the source line it is called
from. It is particularly useful for creating a new temporary
working context.
diff --git a/lib/talloc/talloc.h b/lib/talloc/talloc.h
index a98cff4d2e..644848eaa1 100644
--- a/lib/talloc/talloc.h
+++ b/lib/talloc/talloc.h
@@ -520,7 +520,7 @@ void *talloc_ptrtype(const void *ctx, #type);
* @brief Allocate a new 0-sized talloc chunk.
*
* This is a utility macro that creates a new memory context hanging off an
- * exiting context, automatically naming it "talloc_new: __location__" where
+ * existing context, automatically naming it "talloc_new: __location__" where
* __location__ is the source line it is called from. It is particularly
* useful for creating a new temporary working context.
*