mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-15 10:17:20 +00:00
Undid the last 2 commits. Rev.1.43 reversed the changes in rev.1.42 and
rev.1.44 was a subset of them.
This commit is contained in:
parent
7f49be143c
commit
cf78fc4129
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=14880
@ -36,7 +36,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* from: @(#)cons.c 7.2 (Berkeley) 5/9/91
|
||||
* $Id: cons.c,v 1.43 1996/03/27 19:04:54 bde Exp $
|
||||
* $Id: cons.c,v 1.44 1996/03/28 14:28:14 scrappy Exp $
|
||||
*/
|
||||
|
||||
#include <sys/param.h>
|
||||
@ -327,9 +327,9 @@ cn_drvinit(void *unused)
|
||||
cdevsw_add(&dev,&cn_cdevsw,NULL);
|
||||
cn_devsw_installed = 1;
|
||||
#ifdef DEVFS
|
||||
cn_devfs_token =
|
||||
devfs_add_devswf(&cn_cdevsw, 0, DV_CHR, 0, 0,
|
||||
0640, "console");
|
||||
cn_devfs_token = devfs_add_devswf(&cn_cdevsw, 0, DV_CHR,
|
||||
UID_ROOT, GID_WHEEL, 0600,
|
||||
"console");
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
@ -36,7 +36,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* from: @(#)cons.c 7.2 (Berkeley) 5/9/91
|
||||
* $Id: cons.c,v 1.43 1996/03/27 19:04:54 bde Exp $
|
||||
* $Id: cons.c,v 1.44 1996/03/28 14:28:14 scrappy Exp $
|
||||
*/
|
||||
|
||||
#include <sys/param.h>
|
||||
@ -327,9 +327,9 @@ cn_drvinit(void *unused)
|
||||
cdevsw_add(&dev,&cn_cdevsw,NULL);
|
||||
cn_devsw_installed = 1;
|
||||
#ifdef DEVFS
|
||||
cn_devfs_token =
|
||||
devfs_add_devswf(&cn_cdevsw, 0, DV_CHR, 0, 0,
|
||||
0640, "console");
|
||||
cn_devfs_token = devfs_add_devswf(&cn_cdevsw, 0, DV_CHR,
|
||||
UID_ROOT, GID_WHEEL, 0600,
|
||||
"console");
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user