summaryrefslogtreecommitdiffstats
path: root/usr.sbin/config
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/config')
-rw-r--r--usr.sbin/config/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/config/main.c b/usr.sbin/config/main.c
index 7fd3bfc..0c05358 100644
--- a/usr.sbin/config/main.c
+++ b/usr.sbin/config/main.c
@@ -42,7 +42,7 @@ static const char copyright[] =
static char sccsid[] = "@(#)main.c 8.1 (Berkeley) 6/6/93";
#endif
static const char rcsid[] =
- "$Id: main.c,v 1.24 1998/05/02 01:57:38 kato Exp $";
+ "$Id: main.c,v 1.25 1998/06/09 14:02:03 dfr Exp $";
#endif /* not lint */
#include <sys/types.h>
@@ -358,7 +358,7 @@ configfile()
err(2, "%s", p);
fprintf(fo,"#include \"opt_config.h\"\n");
fprintf(fo,"#ifdef INCLUDE_CONFIG_FILE \n");
- fprintf(fo,"static char *config = \"\\\n");
+ fprintf(fo,"static const char config[] = \"\\\n");
fprintf(fo,"START CONFIG FILE %s\\n\\\n___",PREFIX);
while (EOF != (i=getc(fi))) {
if(i == '\n') {
OpenPOWER on IntegriCloud