kern
diff src/klibc/assert.h @ 56:0be4615594df
finally, runqueues, blocking, waking up, idle loop etc, all seem to work fine
on a single user process... Next up: try forking another one :)
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Mon, 15 Aug 2011 06:17:58 +0300 |
parents | fa65b4f45366 |
children |
line diff
1.1 --- a/src/klibc/assert.h Mon Aug 15 04:03:39 2011 +0300 1.2 +++ b/src/klibc/assert.h Mon Aug 15 06:17:58 2011 +0300 1.3 @@ -5,7 +5,7 @@ 1.4 1.5 #define assert(x) \ 1.6 if(!(x)) { \ 1.7 - panic("Kernel assertion failed: " #x "\n"); \ 1.8 + panic("Kernel assertion failed at " __FILE__ ":%d: " #x "\n", __LINE__); \ 1.9 } 1.10 1.11 #endif /* ASSERT_H_ */