git: 6ab555cff601 - main - syslog(3): expand a commentary adding a reference to RFC 3164.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 01 Jan 2023 08:28:48 UTC
The branch main has been updated by eugen:
URL: https://cgit.FreeBSD.org/src/commit/?id=6ab555cff601e42a514db16f6d9b7fd0a4ef94cd
commit 6ab555cff601e42a514db16f6d9b7fd0a4ef94cd
Author: Eugene Grosbein <eugen@FreeBSD.org>
AuthorDate: 2023-01-01 08:26:30 +0000
Commit: Eugene Grosbein <eugen@FreeBSD.org>
CommitDate: 2023-01-01 08:28:42 +0000
syslog(3): expand a commentary adding a reference to RFC 3164.
---
lib/libc/gen/syslog.c | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/lib/libc/gen/syslog.c b/lib/libc/gen/syslog.c
index 8d48f7f32836..2424cef78dd7 100644
--- a/lib/libc/gen/syslog.c
+++ b/lib/libc/gen/syslog.c
@@ -463,7 +463,10 @@ setlogmask(int pmask)
}
/*
- * Obtain LogPid from LogTag formatted as following: ident[NNN]
+ * Obtain LogPid from LogTag formatted as per RFC 3164,
+ * Section 5.3 Originating Process Information:
+ *
+ * ident[NNN]
*/
static void
parse_tag(void)