Changeset 73097 in vbox for trunk/src/VBox/Main/src-server/solaris
- Timestamp:
- Jul 12, 2018 9:06:33 PM (7 years ago)
- svn:sync-xref-src-repo-rev:
- 123672
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-server/solaris/PerformanceSolaris.cpp
r69500 r73097 308 308 /* psinfo_t keeps growing, so only read what we need to maximize 309 309 * cross-version compatibility. The structures are compatible. */ 310 ssize_t cb = RT_ OFFSETOF(psinfo_t, pr_rssize) + RT_SIZEOFMEMB(psinfo_t, pr_rssize);310 ssize_t cb = RT_UOFFSETOF(psinfo_t, pr_rssize) + RT_SIZEOFMEMB(psinfo_t, pr_rssize); 311 311 AssertCompile(RTASSERT_OFFSET_OF(psinfo_t, pr_rssize) > RTASSERT_OFFSET_OF(psinfo_t, pr_pid)); 312 312 if (read(h, &psinfo, cb) == cb)
Note:
See TracChangeset
for help on using the changeset viewer.