diff options
Diffstat (limited to 'net/dump.c')
-rw-r--r-- | net/dump.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/dump.c b/net/dump.c index dc0f33948d..60bc5ce66e 100644 --- a/net/dump.c +++ b/net/dump.c @@ -278,7 +278,7 @@ static void filter_dump_get_maxlen(Object *obj, Visitor *v, void *opaque, NetFilterDumpState *nfds = FILTER_DUMP(obj); uint32_t value = nfds->maxlen; - visit_type_uint32(v, &value, name, errp); + visit_type_uint32(v, name, &value, errp); } static void filter_dump_set_maxlen(Object *obj, Visitor *v, void *opaque, @@ -288,7 +288,7 @@ static void filter_dump_set_maxlen(Object *obj, Visitor *v, void *opaque, Error *local_err = NULL; uint32_t value; - visit_type_uint32(v, &value, name, &local_err); + visit_type_uint32(v, name, &value, &local_err); if (local_err) { goto out; } |