diff options
author | agx <agx> | 2006-08-04 18:19:14 +0000 |
---|---|---|
committer | agx <agx> | 2006-08-04 18:19:14 +0000 |
commit | fded4148c7aabd6dcbaab9b9fd77824fc9fef9c9 (patch) | |
tree | 4725723b3b9d5190e6ae694077afbad5c350640e | |
parent | 6250f78db33272f30498a492c3750ee35a5bb109 (diff) |
print line number in asserts
-rw-r--r-- | at76c503.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -118,7 +118,7 @@ int at76_debug = DBG_DEFAULTS; #define assert(x) \ do {\ if (!(x)) \ - err("assertion " #x " failed");\ + err("%d: assertion " #x " failed", __LINE__);\ } while (0) /* how often do we re-try these packets ? */ |