devloopback: reassign device letter from #X to #λ to avoid collision with devvmx
This commit is contained in:
parent
b2d7992025
commit
6728a5ec23
2 changed files with 3 additions and 3 deletions
|
@ -3,7 +3,7 @@
|
|||
loopback \- network link simulation
|
||||
.SH SYNOPSIS
|
||||
.nf
|
||||
.B bind -a #X /net
|
||||
.B bind -a #λ /net
|
||||
|
||||
.BI /net/loopback n /[0-1]
|
||||
.BI /net/loopback n /[0-1]/data
|
||||
|
|
|
@ -127,7 +127,7 @@ loopbackattach(char *spec)
|
|||
if(dev >= Nloopbacks)
|
||||
error(Enodev);
|
||||
|
||||
c = devattach('X', spec);
|
||||
c = devattach(loopbackdevtab.dc, spec);
|
||||
if(waserror()){
|
||||
chanfree(c);
|
||||
nexterror();
|
||||
|
@ -715,7 +715,7 @@ gtime(uchar *p)
|
|||
}
|
||||
|
||||
Dev loopbackdevtab = {
|
||||
'X',
|
||||
L'λ',
|
||||
"loopback",
|
||||
|
||||
devreset,
|
||||
|
|
Loading…
Reference in a new issue