libopae: fix issue identified by checkers
@@ -654,7 +654,7 @@ fpga_result __FPGA_API__ fpgaEnumerate(const fpga_properties *filters,
*num_matches = 0;
- memset(&head, 0, sizeof(head));
+ memset_s(&head, sizeof(head), 0);
// Find the top-level FPGA devices.
dir = opendir(SYSFS_FPGA_CLASS_PATH);
