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/kbd.c

    rc571f42 rf651e80  
    8888        prop = ofw_tree_getprop(node, "interrupts");
    8989        if ((!prop) || (!prop->value))
    90                 panic("Can't find \"interrupts\" property.\n");
     90                panic("Cannot find 'interrupt' property.");
    9191        interrupts = *((uint32_t *) prop->value);
    9292       
     
    9696        prop = ofw_tree_getprop(node, "reg");
    9797        if ((!prop) || (!prop->value))
    98                 panic("Can't find \"reg\" property.\n");
     98                panic("Cannot find 'reg' property.");
    9999       
    100100        uintptr_t pa;
     
    134134               
    135135        default:
    136                 panic("Unexpected keyboard type.\n");
     136                panic("Unexpected keyboard type.");
    137137        }
    138138       
Note: See TracChangeset for help on using the changeset viewer.