summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <holger@freyther.de>2010-05-01 15:18:45 +0200
committerVolker Lendecke <vl@samba.org>2010-05-01 15:20:24 +0200
commit485def3b5dae7c77fb0c01ed99b6865b7c5ceeb8 (patch)
tree14831e0f66a599fb82260895b4ac45154c3e326d /lib
parentdfd7ad20832d848349ba2974e43a1d545df2aded (diff)
downloadsamba-485def3b5dae7c77fb0c01ed99b6865b7c5ceeb8.tar.gz
samba-485def3b5dae7c77fb0c01ed99b6865b7c5ceeb8.tar.bz2
samba-485def3b5dae7c77fb0c01ed99b6865b7c5ceeb8.zip
talloc: Documentation fix for talloc
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.
*