shithub: riscv

Download patch

ref: fbd36a8797de2b5b298c06dd96003537a6305162
parent: e2d6d402f1a4a063b3549cb2e988a6e978858579
author: Jacob Moody <moody@posixcafe.org>
date: Sun Sep 11 16:59:59 EDT 2022

rio: correct error message

--- a/sys/src/cmd/rio/xfid.c
+++ b/sys/src/cmd/rio/xfid.c
@@ -658,7 +658,7 @@
 	case Qwctl:
 		if(w == nil){
 			if(off >= 6*12){
-				filsysrespond(x->fs, x, &fc, "no window");
+				filsysrespond(x->fs, x, &fc, Etooshort);
 				return;
 			}
 			n = sprint(buf, "%11d %11d %11d %11d nowindow    nowindow    ",