back out half of 244098.
kern.bootfile needs to be rw for installkernel. Pointed out by: kib, flo
This commit is contained in:
parent
65d2eae18d
commit
d3bfafb4f6
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=244103
@ -141,7 +141,7 @@ SYSCTL_INT(_kern, KERN_SAVED_IDS, saved_ids, CTLFLAG_RD|CTLFLAG_CAPRD,
|
||||
|
||||
char kernelname[MAXPATHLEN] = "/kernel"; /* XXX bloat */
|
||||
|
||||
SYSCTL_STRING(_kern, KERN_BOOTFILE, bootfile, CTLFLAG_RD,
|
||||
SYSCTL_STRING(_kern, KERN_BOOTFILE, bootfile, CTLFLAG_RW,
|
||||
kernelname, sizeof kernelname, "Name of kernel file booted");
|
||||
|
||||
SYSCTL_INT(_hw, HW_NCPU, ncpu, CTLFLAG_RD|CTLFLAG_CAPRD,
|
||||
|
Loading…
Reference in New Issue
Block a user