Changeset f651e80 in mainline for kernel/generic/include/panic.h


Ignore:
Timestamp:
2009-01-08T12:07:38Z (15 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/generic/include/panic.h

    rc571f42 rf651e80  
    3838#ifdef CONFIG_DEBUG
    3939#       define panic(format, ...) \
    40                 panic_printf("Kernel panic in %s() at %s:%u: " format, __func__, \
    41                 __FILE__, __LINE__, ##__VA_ARGS__);
     40                panic_printf("Kernel panic in %s() at %s:%u: " format "\n", \
     41                __func__, __FILE__, __LINE__, ##__VA_ARGS__);
    4242#else
    4343#       define panic(format, ...) \
    44                 panic_printf("Kernel panic: " format, ##__VA_ARGS__);
     44                panic_printf("Kernel panic: " format "\n", ##__VA_ARGS__);
    4545#endif
    4646
Note: See TracChangeset for help on using the changeset viewer.