mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-17 03:48:09 +00:00
11 lines
195 B
C
11 lines
195 B
C
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
|
|
#include "common.h"
|
|
|
|
void __attribute__((noreturn)) __fatal_error(const char *msg) {
|
|
printf("FATAL ERROR:\n");
|
|
printf("%s\n", msg);
|
|
exit(1);
|
|
}
|