Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/src/debug/panic.c

    r22a28a69 rd5a1c73  
    6161        } else if (cat == PANIC_BADTRAP) {
    6262                printf("BAD TRAP %ld.\n", address);
     63                if (fmt) {
     64                        vprintf(fmt, args);
     65                        printf("\n");
     66                }
    6367        } else if (cat == PANIC_MEMTRAP) {
    6468                printf("A BAD MEMORY ACCESS WHILE ");
     
    7276                        printf("REFERENCING");
    7377                printf(" ADDRESS %p.\n", address);
     78                if (fmt) {
     79                        vprintf(fmt, args);
     80                        printf("\n");
     81                }
    7482        } else {
    7583                printf("THE FOLLOWING REASON:\n");
    7684                vprintf(fmt, args);
     85                printf("\n");
    7786        }
    7887        va_end(args);
Note: See TracChangeset for help on using the changeset viewer.