Remove the printk format %e
authorBarret Rhoden <brho@cs.berkeley.edu>
Sat, 13 Feb 2016 19:00:35 +0000 (14:00 -0500)
committerBarret Rhoden <brho@cs.berkeley.edu>
Sun, 14 Feb 2016 14:03:21 +0000 (09:03 -0500)
commitbd6585051c1980918efe12510c437ef803680f3f
treebec10832a60483c78425490918c4efb15f0c83f2
parentc7f05ab8780103d500a633922c201cd3a4bcace5
Remove the printk format %e

We were using it in two places, and one of them was incorrect (getchar()
wasn't returning an errno).

It was also blindly inferring errstr() from the context.  If we're going to
do that, we might as well not even pass in the err.  It was basically an
unused perror() for the kernel.

Signed-off-by: Barret Rhoden <brho@cs.berkeley.edu>
kern/src/printfmt.c
kern/src/process.c
kern/src/readline.c