replace SPDK_TRACELOG with SPDK_ERRLOG when an error happens (#68)

This commit is contained in:
liupan1111 2016-11-15 01:30:49 +08:00 committed by Daniel Verkamp
parent 6bd65015d7
commit 0dacdf2947

View File

@ -61,7 +61,7 @@ spdk_rpc_construct_aio_bdev(struct spdk_jsonrpc_server_conn *conn,
if (spdk_json_decode_object(params, rpc_construct_aio_decoders,
sizeof(rpc_construct_aio_decoders) / sizeof(*rpc_construct_aio_decoders),
&req)) {
SPDK_TRACELOG(SPDK_TRACE_DEBUG, "spdk_json_decode_object failed\n");
SPDK_ERRLOG("spdk_json_decode_object failed\n");
goto invalid;
}