diff options
| author | Giuseppe Lettieri <g.lettieri@iet.unipi.it> | 2026-07-13 12:24:16 +0000 |
|---|---|---|
| committer | Jose Luis Duran <jlduran@FreeBSD.org> | 2026-07-13 12:24:16 +0000 |
| commit | 141b6645204966a0e1ae10dd059c670e2a58e6e1 (patch) | |
| tree | 458754ab4bc0bdff7d07df6b95247cd98c88a39a /lib | |
| parent | fcaf15e54162fe14483fdf4ac28c67c51e424441 (diff) | |
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/libnetmap/nmreq.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libnetmap/nmreq.c b/lib/libnetmap/nmreq.c index 2477337d8791..a083099f0a12 100644 --- a/lib/libnetmap/nmreq.c +++ b/lib/libnetmap/nmreq.c @@ -615,7 +615,7 @@ nmreq_remove_option(struct nmreq_header *h, struct nmreq_option *o) for (nmo = (struct nmreq_option **)&h->nr_options; *nmo != NULL; nmo = (struct nmreq_option **)&(*nmo)->nro_next) { if (*nmo == o) { - *((uint64_t *)(*nmo)) = o->nro_next; + *((uint64_t *)nmo) = o->nro_next; o->nro_next = (uint64_t)(uintptr_t)NULL; break; } |
