kernel: use #9 instead of #M in /proc/n/ns

This commit is contained in:
Giacomo Tesio 2016-12-24 21:24:28 +01:00
parent b2ffd8ceaa
commit ca05868e4d
1 changed files with 1 additions and 1 deletions

View File

@ -1065,7 +1065,7 @@ procread(Chan *c, void *va, long n, int64_t off)
return i;
}
int2flag(mw->cm->mflag, flag);
if(strcmp(mw->cm->to->path->s, "#M") == 0){
if(strcmp(mw->cm->to->path->s, "#9") == 0){
srv = srvname(mw->cm->to->mchan);
i = snprint(va, n, "mount %s %s %s %s\n", flag,
srv==nil? mw->cm->to->mchan->path->s : srv,