Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F149805031
D45302.id139498.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
768 B
Referenced Files
None
Subscribers
None
D45302.id139498.diff
View Options
diff --git a/sys/kern/subr_stats.c b/sys/kern/subr_stats.c
--- a/sys/kern/subr_stats.c
+++ b/sys/kern/subr_stats.c
@@ -295,7 +295,7 @@
const struct voistatdata_numeric numeric_limits[2][VSD_DTYPE_Q_U64 + 1] = {
[LIM_MIN] = {
- [VSD_DTYPE_VOISTATE] = {0},
+ [VSD_DTYPE_VOISTATE] = {},
[VSD_DTYPE_INT_S32] = {.int32 = {.s32 = INT32_MIN}},
[VSD_DTYPE_INT_U32] = {.int32 = {.u32 = 0}},
[VSD_DTYPE_INT_S64] = {.int64 = {.s64 = INT64_MIN}},
@@ -308,7 +308,7 @@
[VSD_DTYPE_Q_U64] = {.q64 = {.uq64 = 0}},
},
[LIM_MAX] = {
- [VSD_DTYPE_VOISTATE] = {0},
+ [VSD_DTYPE_VOISTATE] = {},
[VSD_DTYPE_INT_S32] = {.int32 = {.s32 = INT32_MAX}},
[VSD_DTYPE_INT_U32] = {.int32 = {.u32 = UINT32_MAX}},
[VSD_DTYPE_INT_S64] = {.int64 = {.s64 = INT64_MAX}},
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Mar 28, 5:58 AM (1 h, 54 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
30459950
Default Alt Text
D45302.id139498.diff (768 B)
Attached To
Mode
D45302: stats: Fix the build under gcc
Attached
Detach File
Event Timeline
Log In to Comment