diff options
author | thib <> | 2010-05-26 07:27:38 +0000 |
---|---|---|
committer | thib <> | 2010-05-26 07:27:38 +0000 |
commit | b4ba1c452340391dfdef0be4a2f26c69b8c0a7e4 (patch) | |
tree | 29576c3f6034a302ccadb910a3a43e4064d7767b | |
parent | 21f4ae3ac2be70c70a84d1b31291ade1b41418f8 (diff) | |
download | openbsd-b4ba1c452340391dfdef0be4a2f26c69b8c0a7e4.tar.gz openbsd-b4ba1c452340391dfdef0be4a2f26c69b8c0a7e4.tar.bz2 openbsd-b4ba1c452340391dfdef0be4a2f26c69b8c0a7e4.zip |
reword the 'D' dump bit to make it clear that the malloc.out file needs
to exist before exit for malloc to dump stats in it.
tweaks from jmc@
ok otto@,jmc@
-rw-r--r-- | src/lib/libc/stdlib/malloc.3 | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/lib/libc/stdlib/malloc.3 b/src/lib/libc/stdlib/malloc.3 index 62006a7eb5..1abf18345d 100644 --- a/src/lib/libc/stdlib/malloc.3 +++ b/src/lib/libc/stdlib/malloc.3 | |||
@@ -30,9 +30,9 @@ | |||
30 | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | 30 | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF |
31 | .\" SUCH DAMAGE. | 31 | .\" SUCH DAMAGE. |
32 | .\" | 32 | .\" |
33 | .\" $OpenBSD: malloc.3,v 1.66 2010/05/18 22:24:55 tedu Exp $ | 33 | .\" $OpenBSD: malloc.3,v 1.67 2010/05/26 07:27:38 thib Exp $ |
34 | .\" | 34 | .\" |
35 | .Dd $Mdocdate: May 18 2010 $ | 35 | .Dd $Mdocdate: May 26 2010 $ |
36 | .Dt MALLOC 3 | 36 | .Dt MALLOC 3 |
37 | .Os | 37 | .Os |
38 | .Sh NAME | 38 | .Sh NAME |
@@ -223,8 +223,9 @@ rather than when the bogus pointer was used. | |||
223 | .It Cm D | 223 | .It Cm D |
224 | .Dq Dump . | 224 | .Dq Dump . |
225 | .Fn malloc | 225 | .Fn malloc |
226 | will dump statistics in a file called | 226 | will dump statistics to the file |
227 | .Pa malloc.out | 227 | .Pa ./malloc.out , |
228 | if it already exists, | ||
228 | at exit. | 229 | at exit. |
229 | This option requires the library to have been compiled with -DMALLOC_STATS in | 230 | This option requires the library to have been compiled with -DMALLOC_STATS in |
230 | order to have any effect. | 231 | order to have any effect. |