json_util: fix typo in debug message.
We were printing out the wrong value here. Change-Id: I7b5f4eaca41317a69167ad5413a1b1913e9c0842 Signed-off-by: Seth Howell <seth.howell@intel.com> Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/456278 Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Paul Luse <paul.e.luse@intel.com> Reviewed-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
This commit is contained in:
parent
3fb4a66d7d
commit
c680a79237
@ -576,7 +576,7 @@ spdk_json_skip_object_or_array(struct spdk_json_val *val)
|
|||||||
end_type = SPDK_JSON_VAL_ARRAY_END;
|
end_type = SPDK_JSON_VAL_ARRAY_END;
|
||||||
} else {
|
} else {
|
||||||
SPDK_JSON_DEBUG("Expected JSON object (%#x) or array (%#x) but got %#x\n",
|
SPDK_JSON_DEBUG("Expected JSON object (%#x) or array (%#x) but got %#x\n",
|
||||||
SPDK_JSON_VAL_OBJECT_BEGIN, SPDK_JSON_VAL_ARRAY_END, val->type);
|
SPDK_JSON_VAL_OBJECT_BEGIN, SPDK_JSON_VAL_ARRAY_BEGIN, val->type);
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user