shithub: riscv

Download patch

ref: eb6bba80ef02940161518ff65113e84385f172b1
parent: db46e826c23973ee2cdc93a2fcbe465fc022d0ff
parent: 1bc20697ed014d22b6e29e450741cfbc02039717
author: cinap_lenrek <[email protected]>
date: Tue May 30 12:10:23 EDT 2017

merge

--- a/sys/src/9/port/devsegment.c
+++ b/sys/src/9/port/devsegment.c
@@ -337,7 +337,7 @@
 			error(Ebadctl);
 		free(cb);
 		poperror();
-		break;
+		return n;
 	case Qdata:
 		return segio(g, g->s, a, n, voff, 0);
 	default: