Changeset f651e80 in mainline for kernel/arch/ia32xen/src/mm/page.c


Ignore:
Timestamp:
2009-01-08T12:07:38Z (17 years ago)
Author:
Jiri Svoboda <jirik.svoboda@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
7447572
Parents:
c571f42
Message:

Make newlines in panic messages consistent. Add periods at end of messages so that it is obvious whether they are printed entirely.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/ia32xen/src/mm/page.c

    rc571f42 rf651e80  
    6767       
    6868        if (istate->error_word & PFERR_CODE_RSVD)
    69                 panic("Reserved bit set in page directory.\n");
     69                panic("Reserved bit set in page directory.");
    7070       
    7171        if (istate->error_word & PFERR_CODE_RW)
     
    7575       
    7676        if (as_page_fault(page, access, istate) == AS_PF_FAULT) {
    77                 fault_if_from_uspace(istate, "Page fault: %#x", page);
     77                fault_if_from_uspace(istate, "Page fault: %#x.", page);
    7878               
    7979                decode_istate(istate);
    80                 printf("Page fault address: %#x\n", page);
    81                 panic("Page fault\n");
     80                printf("Page fault address: %#x.\n", page);
     81                panic("Page fault.");
    8282        }
    8383}
Note: See TracChangeset for help on using the changeset viewer.