diff options
author | David Leonard <d@cvs.openbsd.org> | 1999-05-26 00:06:50 +0000 |
---|---|---|
committer | David Leonard <d@cvs.openbsd.org> | 1999-05-26 00:06:50 +0000 |
commit | b7ed98d9fc56380c7fdc473cfeedbff97a4e4972 (patch) | |
tree | 8fab9731270442291b3c3e01065dbd4492fc6828 /lib | |
parent | 65cd0aecdd552bb8a787ec6ddf79d511fa099b38 (diff) |
show a bit more information when checks fail
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libc_r/TEST/test.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc_r/TEST/test.h b/lib/libc_r/TEST/test.h index 990526fb98c..5fc658a867a 100644 --- a/lib/libc_r/TEST/test.h +++ b/lib/libc_r/TEST/test.h @@ -93,7 +93,7 @@ __panic(type, errstr, filenm, lineno, fmt) _x = (int)(x); \ if (!(_x rhs)) \ __panic("check failed", efn, __FILE__, __LINE__, \ - "failed check %s %s", #x, #rhs); \ + "failed check %s (=%d) %s ", #x, _x, #rhs); \ } while(0) #define CHECKr(x) _CHECK(x, == 0, strerror(_x)) |