Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Mar 2019 18:02:27 +0000 (UTC)
From:      Ian Lepore <ian@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r345476 - head/sys/kern
Message-ID:  <201903241802.x2OI2RXq088244@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ian
Date: Sun Mar 24 18:02:27 2019
New Revision: 345476
URL: https://svnweb.freebsd.org/changeset/base/345476

Log:
  Revert accidental change that should not have been included in r345475.
  I had changed this value as part of a local experiment, and neglected to
  change it back before committing the other changes.

Modified:
  head/sys/kern/kern_intr.c

Modified: head/sys/kern/kern_intr.c
==============================================================================
--- head/sys/kern/kern_intr.c	Sun Mar 24 17:53:26 2019	(r345475)
+++ head/sys/kern/kern_intr.c	Sun Mar 24 18:02:27 2019	(r345476)
@@ -197,7 +197,7 @@ intr_event_update(struct intr_event *ie)
 
 	/* Run through all the handlers updating values. */
 	CK_SLIST_FOREACH(ih, &ie->ie_handlers, ih_next) {
-		if (strlen(ie->ie_fullname) + strlen(ih->ih_name) + 2 <
+		if (strlen(ie->ie_fullname) + strlen(ih->ih_name) + 1 <
 		    sizeof(ie->ie_fullname)) {
 			strcat(ie->ie_fullname, " ");
 			strcat(ie->ie_fullname, ih->ih_name);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201903241802.x2OI2RXq088244>