Commit bef95c60 authored by Per Cederqvist's avatar Per Cederqvist
Browse files

(read_config): Added missing newlines in format string to restart_kom.

parent b2338f84
/*
* $Id: conf-file.c,v 1.5 1994/03/06 19:56:37 ceder Exp $
* $Id: conf-file.c,v 1.6 1994/03/08 22:57:03 ceder Exp $
* Copyright (C) 1994 Lysator Academic Computer Association.
*
* This file is part of the LysKOM server.
......@@ -26,7 +26,7 @@
* Read configuration files.
*/
static char *rcsid = "$Id: conf-file.c,v 1.5 1994/03/06 19:56:37 ceder Exp $";
static char *rcsid = "$Id: conf-file.c,v 1.6 1994/03/08 22:57:03 ceder Exp $";
#include "rcs.h"
USE(rcsid);
......@@ -219,14 +219,14 @@ read_config(const char *config_file,
fp = fopen(config_file, "r");
if (fp == NULL)
restart_kom("cannot open config file %s", config_file);
restart_kom("cannot open config file %s\n", config_file);
while (configure_line(fp, par, &errs) != EOF)
;
assign_defaults(par, &errs);
if (errs)
restart_kom("Please fix the above errors in %s and restart lyskomd",
restart_kom("Please fix the above errors in %s and restart lyskomd\n",
config_file);
sfree(assignment_count);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment