Page MenuHomeFreeBSD

D59309.diff
No OneTemporary

D59309.diff

diff --git a/sys/kern/subr_devstat.c b/sys/kern/subr_devstat.c
--- a/sys/kern/subr_devstat.c
+++ b/sys/kern/subr_devstat.c
@@ -430,6 +430,7 @@
struct devstat32 ds32;
unsigned int i;
+ memset(&ds32, 0, sizeof(ds32));
CP(*nds, ds32, sequence0);
CP(*nds, ds32, allocated);
CP(*nds, ds32, start_count);

File Metadata

Mime Type
text/plain
Expires
Fri, Sep 4, 3:55 AM (5 h, 15 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
37986158
Default Alt Text
D59309.diff (324 B)

Event Timeline