aboutsummaryrefslogtreecommitdiff
path: root/lib/libc/gen
diff options
context:
space:
mode:
authorEugene Grosbein <eugen@FreeBSD.org>2023-01-01 08:26:30 +0000
committerEugene Grosbein <eugen@FreeBSD.org>2023-01-01 08:28:42 +0000
commit6ab555cff601e42a514db16f6d9b7fd0a4ef94cd (patch)
tree423fdf0ac3904082458a20ab62b54206f6e53d80 /lib/libc/gen
parent674627b9b515485dfbd2265ed0d3215b09620e05 (diff)
syslog(3): expand a commentary adding a reference to RFC 3164.
Diffstat (limited to 'lib/libc/gen')
-rw-r--r--lib/libc/gen/syslog.c5
1 files changed, 4 insertions, 1 deletions
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)