svn commit: r364036 - head/sys/kern

Warner Losh imp at FreeBSD.org
Fri Aug 7 18:21:48 UTC 2020


Author: imp
Date: Fri Aug  7 18:21:48 2020
New Revision: 364036
URL: https://svnweb.freebsd.org/changeset/base/364036

Log:
  Remove obsolete part of comment. It was cut and pasted from the old version of
  this function, and was never relevant to the new version.

Modified:
  head/sys/kern/subr_bus.c

Modified: head/sys/kern/subr_bus.c
==============================================================================
--- head/sys/kern/subr_bus.c	Fri Aug  7 18:14:41 2020	(r364035)
+++ head/sys/kern/subr_bus.c	Fri Aug  7 18:21:48 2020	(r364036)
@@ -860,8 +860,6 @@ sysctl_devctl_queue(SYSCTL_HANDLER_ARGS)
  * The devctl protocol relies on quoted strings having matching quotes.
  * This routine quotes any internal quotes so the resulting string
  * is safe to pass to snprintf to construct, for example pnp info strings.
- * Strings are always terminated with a NUL, but may be truncated if longer
- * than @p len bytes after quotes.
  *
  * @param sb	sbuf to place the characters into
  * @param src	Original buffer.


More information about the svn-src-head mailing list