diff options
Diffstat (limited to 'usr.sbin/config/mkoptions.c')
-rw-r--r-- | usr.sbin/config/mkoptions.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.sbin/config/mkoptions.c b/usr.sbin/config/mkoptions.c index 5ff8c54..1b8b332 100644 --- a/usr.sbin/config/mkoptions.c +++ b/usr.sbin/config/mkoptions.c @@ -92,7 +92,7 @@ options(void) /* Fake MAXUSERS as an option. */ op = (struct opt *)malloc(sizeof(*op)); memset(op, 0, sizeof(*op)); - op->op_name = "MAXUSERS"; + op->op_name = ns("MAXUSERS"); snprintf(buf, sizeof(buf), "%d", maxusers); op->op_value = ns(buf); op->op_next = opt; @@ -117,7 +117,8 @@ options(void) static void do_option(char *name) { - char *basefile, *file, *inw; + char *file, *inw; + const char *basefile; struct opt_list *ol; struct opt *op, *op_head, *topp; FILE *inf, *outf; |