9ns: Fix a couple namec() error cases
authorBarret Rhoden <brho@cs.berkeley.edu>
Tue, 27 Feb 2018 17:35:46 +0000 (12:35 -0500)
committerBarret Rhoden <brho@cs.berkeley.edu>
Fri, 6 Apr 2018 19:23:01 +0000 (15:23 -0400)
commit3ad9671c5943a78174f30b58afb62fc76de1d2b5
tree4e112ec39b0a3b3804dbf87ec225b7b686d55c50
parentaa62086eb3896bd8feba673bb7109dfc962c09df
9ns: Fix a couple namec() error cases

Those errors were being written to the tmperrorbuf, but that wasn't being
used for anything.  Instead, you'd often get whatever other errstr was
previously set.  I'd often get ones from devdir "tell brho you saw this."
The namec error handling has always been a bit crazy, but at least now it's
a little better.

Signed-off-by: Barret Rhoden <brho@cs.berkeley.edu>
kern/src/ns/chan.c