Date: Fri, 7 Aug 2020 18:21:48 +0000 (UTC) From: Warner Losh <imp@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r364036 - head/sys/kern Message-ID: <202008071821.077ILm9v009616@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202008071821.077ILm9v009616>