minor fixes: return codes and netbsd uname