From 485def3b5dae7c77fb0c01ed99b6865b7c5ceeb8 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Sat, 1 May 2010 15:18:45 +0200 Subject: talloc: Documentation fix for talloc --- lib/talloc/talloc.3.xml | 2 +- lib/talloc/talloc.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/talloc') 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); void *talloc_new(void *<emphasis role="italic">ctx</emphasis>); 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. * -- cgit