devloopback: fix wrong device character (thanks romano)

devloopback was changed from using #X to #λ awhile ago; one bit was missed.
This commit is contained in:
cinap_lenrek 2021-04-18 16:20:04 +02:00
parent f7ae890ecb
commit 52a367f3ea

View file

@ -189,7 +189,7 @@ loopbackgen(Chan *c, char*, Dirtab*, int, int i, Dir *dp)
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;