Commit 0dacdf29 authored by liupan1111's avatar liupan1111 Committed by Daniel Verkamp
Browse files

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

parent 6bd65015
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;
	}