Commit 661dfdb6 authored by Per Cederqvist's avatar Per Cederqvist
Browse files

(main): Print the full version number, not the compatibility version

number, in logs.
parent 87a0ba4a
/*
* $Id: ramkomd.c,v 0.53 1994/11/14 23:37:13 ceder Exp $
* $Id: ramkomd.c,v 0.54 1994/12/31 15:16:19 ceder Exp $
* Copyright (C) 1991, 1992, 1993, 1994 Lysator Academic Computer Association.
*
* This file is part of the LysKOM server.
......@@ -31,7 +31,7 @@
* It has grown! /ceder
*/
static char *rcsid = "$Id: ramkomd.c,v 0.53 1994/11/14 23:37:13 ceder Exp $";
static char *rcsid = "$Id: ramkomd.c,v 0.54 1994/12/31 15:16:19 ceder Exp $";
#include "rcs.h"
USE(rcsid);
......@@ -87,6 +87,7 @@ USE(rcsid);
#include "param.h"
#include "server-config.h"
#include "manipulate.h"
#include "version-info.h"
#if defined(HAVE_SETRLIMIT) && defined(RLIMIT_OFILE) && !defined(RLIMIT_NOFILE)
# define RLIMIT_NOFILE RLIMIT_OFILE
......@@ -292,9 +293,8 @@ go_daemon(const char *prefix, const char *logf)
restart_kom("open of log file failed: %d\n", errno);
}
sfree(logfile);
log("*** Version %d (process %d) coming up.\n",
#include "version.incl"
, getpid());
log("*** Version %s (process %d) coming up.\n",
kom_version_info.server_version, getpid());
}
void
......@@ -384,9 +384,8 @@ main (int argc,
char *default_config_file;
char *config_file;
log("*** Version %d (process %d) started.\n",
#include "version.incl"
, getpid());
log("*** Version %s (process %d) started.\n",
kom_version_info.server_version, getpid());
#ifdef ENCRYPT_PASSWORDS
/* Seed the random number generator. */
......
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