Commit 51d74d9a authored by Per Cederqvist's avatar Per Cederqvist
Browse files

(assign_defaults): Fixed bug in error message printing.

parent cda6e6e0
/* /*
* $Id: conf-file.c,v 1.3 1994/02/19 03:41:51 ceder Exp $ * $Id: conf-file.c,v 1.4 1994/03/05 22:15:20 ceder Exp $
* Copyright (C) 1994 Lysator Academic Computer Association. * Copyright (C) 1994 Lysator Academic Computer Association.
* *
* This file is part of the LysKOM server. * This file is part of the LysKOM server.
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
* Read configuration files. * Read configuration files.
*/ */
static char *rcsid = "$Id: conf-file.c,v 1.3 1994/02/19 03:41:51 ceder Exp $"; static char *rcsid = "$Id: conf-file.c,v 1.4 1994/03/05 22:15:20 ceder Exp $";
#include "rcs.h" #include "rcs.h"
USE(rcsid); USE(rcsid);
...@@ -80,7 +80,7 @@ assign_defaults(const struct parameter *par, ...@@ -80,7 +80,7 @@ assign_defaults(const struct parameter *par,
if (assignment_count[ix] < par[ix].min_assignments) if (assignment_count[ix] < par[ix].min_assignments)
{ {
log ("Parameter %s only assigned %d times (%d times needed)\n", log ("Parameter %s only assigned %d times (%d times needed)\n",
assignment_count[ix], par[ix].min_assignments); par[ix].name, assignment_count[ix], par[ix].min_assignments);
(*err)++; (*err)++;
} }
else if (assignment_count[ix] == 0) else if (assignment_count[ix] == 0)
......
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