Changes in uspace/lib/c/generic/assert.c [5a6cc679:a35b458] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/generic/assert.c
r5a6cc679 ra35b458 48 48 kio_printf("Assertion failed (%s) in file \"%s\", line %u.\n", 49 49 cond, file, line); 50 50 51 51 /* Sometimes we know in advance that regular printf() would likely fail. */ 52 52 abort(); … … 60 60 kio_printf("Assertion failed (%s) in file \"%s\", line %u.\n", 61 61 cond, file, line); 62 62 63 63 /* 64 64 * Check if this is a nested or parallel assert. … … 66 66 if (atomic_postinc(&failed_asserts)) 67 67 abort(); 68 68 69 69 /* 70 70 * Attempt to print the message to standard output and display … … 75 75 cond, file, line); 76 76 stacktrace_print(); 77 77 78 78 abort(); 79 79 }
Note:
See TracChangeset
for help on using the changeset viewer.