error.c from inferno

Signed-off-by: Ronald G. Minnich <rminnich@google.com>