Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/kern Tweak some comments so that they match the other co...



details:   https://anonhg.NetBSD.org/src/rev/8941c709a648
branches:  trunk
changeset: 543434:8941c709a648
user:      atatat <atatat%NetBSD.org@localhost>
date:      Tue Feb 25 05:27:35 2003 +0000

description:
Tweak some comments so that they match the other comments more properly.

diffstat:

 sys/kern/core_elf32.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (36 lines):

diff -r d53e547e8e95 -r 8941c709a648 sys/kern/core_elf32.c
--- a/sys/kern/core_elf32.c     Tue Feb 25 01:57:35 2003 +0000
+++ b/sys/kern/core_elf32.c     Tue Feb 25 05:27:35 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: core_elf32.c,v 1.4 2003/01/18 10:06:23 thorpej Exp $   */
+/*     $NetBSD: core_elf32.c,v 1.5 2003/02/25 05:27:35 atatat Exp $    */
 
 /*
  * Copyright (c) 2001 Wasabi Systems, Inc.
@@ -40,7 +40,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(1, "$NetBSD: core_elf32.c,v 1.4 2003/01/18 10:06:23 thorpej Exp $");
+__KERNEL_RCSID(1, "$NetBSD: core_elf32.c,v 1.5 2003/02/25 05:27:35 atatat Exp $");
 
 /* If not included by core_elf64.c, ELFSIZE won't be defined. */
 #ifndef ELFSIZE
@@ -155,7 +155,7 @@
        notestart = ws.offset + (sizeof(phdr) * cs.npsections);
        secstart = round_page(notestart + notesize);
 
-       /* Now write the P-section headers. */
+       /* Pass 2: now write the P-section headers. */
        ws.secoff = secstart;
        error = uvm_coredump_walkmap(p, vp, cred,
            ELFNAMEEND(coredump_writeseghdrs), &ws);
@@ -198,7 +198,7 @@
                    (long long) round_page(ws.offset), (long long) secstart);
 #endif
 
-       /* ...and finally, the sections themselves. */
+       /* Pass 3: finally, write the sections themselves. */
        ws.secoff = secstart;
        error = uvm_coredump_walkmap(p, vp, cred,
            ELFNAMEEND(coredump_writesegs), &ws);



Home | Main Index | Thread Index | Old Index