Eliminate compiler warning when compiling "config.c" in a kernel.
This commit is contained in:
parent
7b505024ed
commit
ef4be59deb
@ -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') {
|
||||
|
Loading…
x
Reference in New Issue
Block a user