9p: /route output uses spaces, no newlines

This commit is contained in:
Levi Neely 2026-07-18 17:15:59 +02:00
parent d33fae7946
commit 6a9ea19abe
1 changed files with 1 additions and 1 deletions

View File

@ -927,7 +927,7 @@ func (s *Server) write(cs *connState, fc *plan9.Fcall) *plan9.Fcall {
if err != nil {
return errFcall(fc, err.Error())
}
f.routeResult = []byte(fmt.Sprintf("backend=%s\nmodel=%s\n", result.Backend, result.Model))
f.routeResult = []byte(fmt.Sprintf("backend=%s model=%s", result.Backend, result.Model))
return &plan9.Fcall{Type: plan9.Rwrite, Tag: fc.Tag, Count: uint32(len(fc.Data))}
}