summaryrefslogtreecommitdiff
path: root/src/conftest/hooks/reset_seq.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/conftest/hooks/reset_seq.c')
-rw-r--r--src/conftest/hooks/reset_seq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conftest/hooks/reset_seq.c b/src/conftest/hooks/reset_seq.c
index a77b10eee..717bcdbb9 100644
--- a/src/conftest/hooks/reset_seq.c
+++ b/src/conftest/hooks/reset_seq.c
@@ -108,7 +108,7 @@ static job_requeue_t reset_cb(struct reset_cb_data_t *data)
memset(&request, 0, sizeof(request));
- hdr = (struct nlmsghdr*)request;
+ hdr = &request.hdr;
hdr->nlmsg_flags = NLM_F_REQUEST | NLM_F_ACK | NLM_F_REPLACE;
hdr->nlmsg_seq = 201;
hdr->nlmsg_pid = getpid();