Add a missing break so my machine doesn't panic.
This commit is contained in:
parent
b58ba6927f
commit
c4f31d72f8
|
@ -37,7 +37,7 @@
|
||||||
* From:
|
* From:
|
||||||
* Id: procfs_subr.c,v 4.1 1993/12/17 10:47:45 jsp Rel
|
* Id: procfs_subr.c,v 4.1 1993/12/17 10:47:45 jsp Rel
|
||||||
*
|
*
|
||||||
* $Id: procfs_subr.c,v 1.6 1994/01/09 19:44:07 ws Exp $
|
* $Id: procfs_subr.c,v 1.7 1994/01/10 04:58:14 mycroft Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <sys/param.h>
|
#include <sys/param.h>
|
||||||
|
@ -136,11 +136,12 @@ loop:
|
||||||
vp->v_type = VDIR;
|
vp->v_type = VDIR;
|
||||||
vp->v_flag = VROOT;
|
vp->v_flag = VROOT;
|
||||||
break;
|
break;
|
||||||
case 1: /* /proc/curdir = lr--r--r-- */
|
case 1: /* /proc/curproc = lr--r--r-- */
|
||||||
pfs->pfs_mode = VREAD |
|
pfs->pfs_mode = VREAD |
|
||||||
VREAD >> 3 |
|
VREAD >> 3 |
|
||||||
VREAD >> 6;
|
VREAD >> 6;
|
||||||
vp->v_type = VLNK;
|
vp->v_type = VLNK;
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
panic("procfs_allocvp root");
|
panic("procfs_allocvp root");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue