talloc: Documentation fix for talloc
authorHolger Hans Peter Freyther <holger@freyther.de>
Sat, 1 May 2010 13:18:45 +0000 (15:18 +0200)
committerVolker Lendecke <vl@samba.org>
Sat, 1 May 2010 13:20:24 +0000 (15:20 +0200)
lib/talloc/talloc.3.xml
lib/talloc/talloc.h

index cc36f60aa566180a6ca7301d2e23dcfbf4b168a0..c23b9117044fbabb770be770f9428e5b61713b6d 100644 (file)
@@ -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.
index a98cff4d2eb30c12bd3b225b8f13ff51ed249d7e..644848eaa15bcfeb469c3738a64bbc0497ae7da0 100644 (file)
@@ -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.
  *