summaryrefslogtreecommitdiff
path: root/sys/kern
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2000-08-08 21:42:41 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2000-08-08 21:42:41 +0000
commitacac3033d44e8b61eee8729148904b79d91ae958 (patch)
tree645807627d47234847f57d0138aaa9f286615c29 /sys/kern
parentbe9578aaa3c368bb2ffad5a725a00189261aeb7a (diff)
permit changing flags
Diffstat (limited to 'sys/kern')
-rw-r--r--sys/kern/subr_userconf.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/kern/subr_userconf.c b/sys/kern/subr_userconf.c
index 14afc3a9e86..122971a29cf 100644
--- a/sys/kern/subr_userconf.c
+++ b/sys/kern/subr_userconf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: subr_userconf.c,v 1.21 2000/07/06 00:59:01 todd Exp $ */
+/* $OpenBSD: subr_userconf.c,v 1.22 2000/08/08 21:42:40 deraadt Exp $ */
/*
* Copyright (c) 1996 Mats O Jansson <moj@stacken.kth.se>
@@ -293,7 +293,7 @@ userconf_pdev(devno)
ln++;
userconf_pnum(*l++);
}
- printf("\n");
+ printf(" flags 0x%x\n", cd->cf_flags);
}
int
@@ -499,6 +499,8 @@ userconf_change(devno)
ln++;
l++;
}
+ userconf_modify("flags", &cd->cf_flags);
+ userconf_hist_int(cd->cf_flags);
if (share) {
if (bcmp(cd->cf_loc, lk, sizeof(int) * i))