Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/include/debug.h

    r0843f02 rda52547  
    5555        do { \
    5656                if (!(expr)) \
    57                         panic_assert("%s() at %s:%u:\n%s", \
    58                             __func__, __FILE__, __LINE__, #expr); \
     57                        panic_assert("%s", #expr); \
    5958        } while (0)
    6059
     
    7372        do { \
    7473                if (!(expr)) \
    75                         panic_assert("%s() at %s:%u:\n%s, %s", \
    76                             __func__, __FILE__, __LINE__, #expr, msg); \
     74                        panic_assert("%s, %s", #expr, msg); \
    7775        } while (0)
    7876
Note: See TracChangeset for help on using the changeset viewer.