Module Name: src
Committed By: uwe
Date: Wed Oct 11 23:22:14 UTC 2023
Modified Files:
src/usr.sbin/syslogd: syslogd.c
Log Message:
syslogd.c: fix a typo in a comment
To generate a diff of this commit:
cvs rdiff -u -r1.140 -r1.141 src/usr.sbin/syslogd/syslogd.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/usr.sbin/syslogd/syslogd.c
diff -u src/usr.sbin/syslogd/syslogd.c:1.140 src/usr.sbin/syslogd/syslogd.c:1.141
--- src/usr.sbin/syslogd/syslogd.c:1.140 Tue Nov 8 01:43:09 2022
+++ src/usr.sbin/syslogd/syslogd.c Wed Oct 11 23:22:13 2023
@@ -1,4 +1,4 @@
-/* $NetBSD: syslogd.c,v 1.140 2022/11/08 01:43:09 uwe Exp $ */
+/* $NetBSD: syslogd.c,v 1.141 2023/10/11 23:22:13 uwe Exp $ */
/*
* Copyright (c) 1983, 1988, 1993, 1994
@@ -39,7 +39,7 @@ __COPYRIGHT("@(#) Copyright (c) 1983, 19
#if 0
static char sccsid[] = "@(#)syslogd.c 8.3 (Berkeley) 4/4/94";
#else
-__RCSID("$NetBSD: syslogd.c,v 1.140 2022/11/08 01:43:09 uwe Exp $");
+__RCSID("$NetBSD: syslogd.c,v 1.141 2023/10/11 23:22:13 uwe Exp $");
#endif
#endif /* not lint */
@@ -1777,7 +1777,7 @@ check_timestamp(unsigned char *from_buf,
*/
*to_buf = strdup("-");
} else {
- /* with BSD Syslog the field is reqired
+ /* with BSD Syslog the field is required
* so replace it with current time
*/
*to_buf = make_timestamp(NULL, false, 0);