We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7a37d50 commit 7642caeCopy full SHA for 7642cae
1 file changed
src/mctp-bench.c
@@ -323,6 +323,7 @@ static int mctp_bench_send(struct mctp_bench_send_args send_args)
323
buf[i] = i & 0xff;
324
325
hdr = (struct msg_header *)buf;
326
+ memcpy(hdr->vendor_prefix, VENDOR_TYPE_BENCH, sizeof(VENDOR_TYPE_BENCH));
327
hdr->magic = MAGIC_VAL;
328
329
/* will not match a sensible sendto() return value */
0 commit comments