Changeset 8565a42 in mainline for uspace/lib/c/generic/assert.c
- Timestamp:
- 2018-03-02T20:34:50Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- a1a81f69, d5e5fd1
- Parents:
- 3061bc1 (diff), 34e1206 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - git-author:
- Jiří Zárevúcky <zarevucky.jiri@…> (2018-03-02 20:34:50)
- git-committer:
- GitHub <noreply@…> (2018-03-02 20:34:50)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/generic/assert.c
r3061bc1 r8565a42 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.