View | Details | Raw Unified | Return to bug 215356
Collapse All | Expand All

(-)b/sysutils/smartmontools/files/patch-os__freebsd.cpp (-1 / +11 lines)
Added Link Here
0
- 
1
--- os_freebsd.cpp.orig	2016-12-17 18:42:22 UTC
2
+++ os_freebsd.cpp
3
@@ -1936,6 +1936,8 @@ smart_device * freebsd_smart_interface::
4
   int i;
5
   const char * test_name = name;
6
 
7
+  memset(&ccb, 0, sizeof(ccb));
8
+
9
   // if dev_name null, or string length zero
10
   if (!name || !*name)
11
     return 0;

Return to bug 215356