aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--external/opal-prd/opal-prd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/external/opal-prd/opal-prd.c b/external/opal-prd/opal-prd.c
index 115443c..a82000a 100644
--- a/external/opal-prd/opal-prd.c
+++ b/external/opal-prd/opal-prd.c
@@ -1317,6 +1317,7 @@ static void handle_prd_control_run_cmd(struct control_msg *send_msg,
}
s = (char *)recv_msg->data;
+ size = 0;
for (i = 0; i < argc; i++) {
argv[i] = (char *)htobe64((uint64_t)&s[size]);
size += (strlen(&s[size]) + 1);