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);
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to