Ignore:
Timestamp:
2009-01-08T12:07:38Z (16 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/sparc64/src/drivers/sgcn.c

    rc571f42 rf651e80  
    200200        chosen = ofw_tree_lookup("/chosen");
    201201        if (!chosen)
    202                 panic("Can't find /chosen.\n");
     202                panic("Cannot find '/chosen'.");
    203203
    204204        iosram_toc = ofw_tree_getprop(chosen, "iosram-toc");
    205205        if (!iosram_toc)
    206                 panic("Can't find property \"iosram-toc\".\n");
     206                panic("Cannot find property 'iosram-toc'.");
    207207        if (!iosram_toc->value)
    208                 panic("Can't find SRAM TOC.\n");
     208                panic("Cannot find SRAM TOC.");
    209209
    210210        sram_begin_physical = SBBC_START + SBBC_SRAM_OFFSET
     
    329329static void sgcn_irq_handler(irq_t *irq, void *arg, ...)
    330330{
    331         panic("Not yet implemented, SGCN works in polled mode.\n");
     331        panic("Not yet implemented, SGCN works in polled mode.");
    332332}
    333333
Note: See TracChangeset for help on using the changeset viewer.