Commit 666a523e authored by Raphael Defosseux's avatar Raphael Defosseux

fix added cppcheck errors

Signed-off-by: default avatarRaphael Defosseux <raphael.defosseux@eurecom.fr>
parent 27b32a63
...@@ -102,8 +102,8 @@ static int baseRunTimeCommand(char* cmd) { ...@@ -102,8 +102,8 @@ static int baseRunTimeCommand(char* cmd) {
fp = popen(cmd, "r"); fp = popen(cmd, "r");
memset(cmd, 1, 200); memset(cmd, 1, sizeof(*cmd));
retSize = fread(cmd, 1, 200, fp); retSize = fread(cmd, 1, sizeof(*cmd), fp);
fclose(fp); fclose(fp);
if (retSize == 0) { if (retSize == 0) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment