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 b60512f..c58ee51 100644 --- a/external/opal-prd/opal-prd.c +++ b/external/opal-prd/opal-prd.c @@ -1308,6 +1308,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); |