shithub: plan9front

Download patch

ref: 52a367f3ea8b6fa256b2a9b0e52c5c2d557a9fc3
parent: f7ae890ecb7c90cac69051816211c0cc97cd4c7c
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Sun Apr 18 10:20:04 EDT 2021

devloopback: fix wrong device character (thanks romano)

devloopback was changed from using #X to #λ awhile ago; one bit was missed.

--- a/sys/src/9/port/devloopback.c	Sat Apr 17 21:52:11 2021
+++ b/sys/src/9/port/devloopback.c	Sun Apr 18 10:20:04 2021
@@ -189,7 +189,7 @@
 		switch(type){
 		case Qtopdir:
 		case Qloopdir:
-			snprint(up->genbuf, sizeof(up->genbuf), "#X%ld", c->dev);
+			snprint(up->genbuf, sizeof(up->genbuf), "#λ%ld", c->dev);
 			mkqid(&qid, QID(0, Qtopdir), 0, QTDIR);
 			devdir(c, qid, up->genbuf, 0, eve, 0555, dp);
 			break;