. Bumped patchlevel
. Changed versioning scheme to version.patchlevel (like 1.4.1)
This commit is contained in:
parent
c6edf85cd6
commit
8b02038df4
12
klogd.c
12
klogd.c
@ -461,7 +461,7 @@ static void ChangeLogging(void)
|
||||
Terminate();
|
||||
|
||||
/* Indicate that something is happening. */
|
||||
Syslog(LOG_INFO, "klogd %s-%s, ---------- state change ----------\n", \
|
||||
Syslog(LOG_INFO, "klogd %s.%s, ---------- state change ----------\n", \
|
||||
VERSION, PATCHLEVEL);
|
||||
|
||||
/* Reload symbols. */
|
||||
@ -534,10 +534,10 @@ static enum LOGSRC GetKernelLogSrc(void)
|
||||
/* Initialize kernel logging. */
|
||||
ksyslog(1, NULL, 0);
|
||||
#ifdef DEBRELEASE
|
||||
Syslog(LOG_INFO, "klogd %s-%s#%s, log source = ksyslog "
|
||||
Syslog(LOG_INFO, "klogd %s.%s#%s, log source = ksyslog "
|
||||
"started.", VERSION, PATCHLEVEL, DEBRELEASE);
|
||||
#else
|
||||
Syslog(LOG_INFO, "klogd %s-%s, log source = ksyslog "
|
||||
Syslog(LOG_INFO, "klogd %s.%s, log source = ksyslog "
|
||||
"started.", VERSION, PATCHLEVEL);
|
||||
#endif
|
||||
return(kernel);
|
||||
@ -556,10 +556,10 @@ static enum LOGSRC GetKernelLogSrc(void)
|
||||
#endif
|
||||
|
||||
#ifdef DEBRELEASE
|
||||
Syslog(LOG_INFO, "klogd %s-%s#%s, log source = %s started.", \
|
||||
Syslog(LOG_INFO, "klogd %s.%s#%s, log source = %s started.", \
|
||||
VERSION, PATCHLEVEL, DEBRELEASE, _PATH_KLOG);
|
||||
#else
|
||||
Syslog(LOG_INFO, "klogd %s-%s, log source = %s started.", \
|
||||
Syslog(LOG_INFO, "klogd %s.%s, log source = %s started.", \
|
||||
VERSION, PATCHLEVEL, _PATH_KLOG);
|
||||
#endif
|
||||
return(proc);
|
||||
@ -1032,7 +1032,7 @@ int main(argc, argv)
|
||||
use_syscall = 1;
|
||||
break;
|
||||
case 'v':
|
||||
printf("klogd %s-%s\n", VERSION, PATCHLEVEL);
|
||||
printf("klogd %s.%s\n", VERSION, PATCHLEVEL);
|
||||
exit (1);
|
||||
case 'x':
|
||||
symbol_lookup = 0;
|
||||
|
10
syslogd.c
10
syslogd.c
@ -875,7 +875,7 @@ int main(argc, argv)
|
||||
StripDomains = crunch_list(optarg);
|
||||
break;
|
||||
case 'v':
|
||||
printf("syslogd %s-%s\n", VERSION, PATCHLEVEL);
|
||||
printf("syslogd %s.%s\n", VERSION, PATCHLEVEL);
|
||||
exit (0);
|
||||
case '?':
|
||||
default:
|
||||
@ -2409,20 +2409,20 @@ void init()
|
||||
|
||||
if ( AcceptRemote )
|
||||
#ifdef DEBRELEASE
|
||||
logmsg(LOG_SYSLOG|LOG_INFO, "syslogd " VERSION "-" PATCHLEVEL "#" DEBRELEASE \
|
||||
logmsg(LOG_SYSLOG|LOG_INFO, "syslogd " VERSION "." PATCHLEVEL "#" DEBRELEASE \
|
||||
": restart (remote reception)." , LocalHostName, \
|
||||
ADDDATE);
|
||||
#else
|
||||
logmsg(LOG_SYSLOG|LOG_INFO, "syslogd " VERSION "-" PATCHLEVEL \
|
||||
logmsg(LOG_SYSLOG|LOG_INFO, "syslogd " VERSION "." PATCHLEVEL \
|
||||
": restart (remote reception)." , LocalHostName, \
|
||||
ADDDATE);
|
||||
#endif
|
||||
else
|
||||
#ifdef DEBRELEASE
|
||||
logmsg(LOG_SYSLOG|LOG_INFO, "syslogd " VERSION "-" PATCHLEVEL "#" DEBRELEASE \
|
||||
logmsg(LOG_SYSLOG|LOG_INFO, "syslogd " VERSION "." PATCHLEVEL "#" DEBRELEASE \
|
||||
": restart." , LocalHostName, ADDDATE);
|
||||
#else
|
||||
logmsg(LOG_SYSLOG|LOG_INFO, "syslogd " VERSION "-" PATCHLEVEL \
|
||||
logmsg(LOG_SYSLOG|LOG_INFO, "syslogd " VERSION "." PATCHLEVEL \
|
||||
": restart." , LocalHostName, ADDDATE);
|
||||
#endif
|
||||
(void) signal(SIGHUP, sighup_handler);
|
||||
|
Loading…
Reference in New Issue
Block a user