diff options
-rw-r--r-- | external/opal-prd/opal-prd.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/external/opal-prd/opal-prd.c b/external/opal-prd/opal-prd.c index 115443cc..a82000a2 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); |