[Bug 227552] w, uptime i386 cordeump

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue May 8 01:46:06 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227552

--- Comment #19 from Phil Shafer <phil at freebsd.org> ---
The work around is:

@@ -1376,8 +1380,8 @@
     xo_retain_entry_t *xr_bucket[RETAIN_HASH_SIZE];
 } xo_retain_t;

-static THREAD_LOCAL(xo_retain_t) xo_retain;
-static THREAD_LOCAL(unsigned) xo_retain_count;
+static THREAD_LOCAL(xo_retain_t) xo_retain = { 0 };
+static THREAD_LOCAL(unsigned) xo_retain_count = 0;

 /*
  * Simple hash function based on Thomas Wang's paper.  The original is

Thanks,
 Phil

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list