Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2613)

Unified Diff: nspr/pr/src/threads/prdump.c

Issue 1019063003: Update to NSPR 4.10.8 (Closed) Base URL: https://chromium.googlesource.com/chromium/deps/nss.git@master
Patch Set: README bump Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « nspr/pr/src/threads/combined/pruthr.c ('k') | patches/nspr-no-pointers-in-longs.patch » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: nspr/pr/src/threads/prdump.c
diff --git a/nspr/pr/src/threads/prdump.c b/nspr/pr/src/threads/prdump.c
index 7f3e591d3db124409d9f8ab79949182f48a0e96c..b40bee30cb3a10cb3343be11e61f2e78cacf756a 100644
--- a/nspr/pr/src/threads/prdump.c
+++ b/nspr/pr/src/threads/prdump.c
@@ -87,7 +87,7 @@ void _PR_DumpThreads(PRFileDesc *fd)
_PR_DumpThread(fd, t);
_PR_DumpPrintf(fd, "Runnable Threads:\n");
- for (i = 0; i < 32; i++) {
+ for (i = 0; i < PR_ARRAY_SIZE(_PR_RUNQ(t->cpu)); i++) {
DumpThreadQueue(fd, &_PR_RUNQ(t->cpu)[i]);
}
« no previous file with comments | « nspr/pr/src/threads/combined/pruthr.c ('k') | patches/nspr-no-pointers-in-longs.patch » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698