diff options
| author | Andrea Fioraldi <andreafioraldi@gmail.com> | 2019-09-02 18:47:07 +0200 |
|---|---|---|
| committer | Andrea Fioraldi <andreafioraldi@gmail.com> | 2019-09-02 18:47:07 +0200 |
| commit | 2ae4ca91b48407add0e940ee13bd8b385e319a7a (patch) | |
| tree | edf805e670fd89a5ca687bfa0102353b1974d3bb /include | |
| parent | e9d968e060f59df634409d2bbe58c279cf6eca00 (diff) | |
| parent | c124576a4dc00e31ad5cad118098f46eaa29cd17 (diff) | |
| download | afl++-2ae4ca91b48407add0e940ee13bd8b385e319a7a.tar.gz | |
merge from master
Diffstat (limited to 'include')
| -rw-r--r-- | include/debug.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/include/debug.h b/include/debug.h index 349aa650..c0044280 100644 --- a/include/debug.h +++ b/include/debug.h @@ -198,8 +198,8 @@ #define FATAL(x...) do { \ SAYF(bSTOP RESET_G1 CURSOR_SHOW cRST cLRD "\n[-] PROGRAM ABORT : " \ - cBRI x); \ - SAYF(cLRD "\n Location : " cRST "%s(), %s:%d\n\n", \ + cRST x); \ + SAYF(cLRD "\n Location : " cRST "%s(), %s:%u\n\n", \ __FUNCTION__, __FILE__, __LINE__); \ exit(1); \ } while (0) @@ -208,8 +208,8 @@ #define ABORT(x...) do { \ SAYF(bSTOP RESET_G1 CURSOR_SHOW cRST cLRD "\n[-] PROGRAM ABORT : " \ - cBRI x); \ - SAYF(cLRD "\n Stop location : " cRST "%s(), %s:%d\n\n", \ + cRST x); \ + SAYF(cLRD "\n Stop location : " cRST "%s(), %s:%u\n\n", \ __FUNCTION__, __FILE__, __LINE__); \ abort(); \ } while (0) @@ -219,8 +219,8 @@ #define PFATAL(x...) do { \ fflush(stdout); \ SAYF(bSTOP RESET_G1 CURSOR_SHOW cRST cLRD "\n[-] SYSTEM ERROR : " \ - cBRI x); \ - SAYF(cLRD "\n Stop location : " cRST "%s(), %s:%d\n", \ + cRST x); \ + SAYF(cLRD "\n Stop location : " cRST "%s(), %s:%u\n", \ __FUNCTION__, __FILE__, __LINE__); \ SAYF(cLRD " OS message : " cRST "%s\n", strerror(errno)); \ exit(1); \ |
