printfmt: print cur_errbuf as part of %e
authorRonald G. Minnich <rminnich@gmail.com>
Sat, 9 Aug 2014 03:27:57 +0000 (03:27 +0000)
committerRonald G. Minnich <rminnich@gmail.com>
Sat, 9 Aug 2014 03:27:57 +0000 (03:27 +0000)
commitcc0264f11bc8a34d5f639f25f1d3be89caf7204b
tree8ddefd143790e1d80deb58ab0995a32cd825eaca
parent55b74e363811fd985b744f6bee39afeb8050448c
printfmt: print cur_errbuf as part of %e

Of course, now we should start initializing first element to 0 when we
do a system call, I guess, as it's printing garbage sometimes.

Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
kern/src/printfmt.c