bdev/nvme: Missing newline (\n) for SPDK_ERRLOG

Signed-off-by: Shuhei Matsumoto <smatsumoto@nvidia.com>
Change-Id: I77711a6d3fdbaf6698ebec5a233cf6cd795726ba
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/11401
Community-CI: Mellanox Build Bot
Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com>
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com>
Reviewed-by: Dong Yi <dongx.yi@intel.com>
This commit is contained in:
Shuhei Matsumoto 2022-02-04 07:31:06 +09:00 committed by Jim Harris
parent ded1ba146c
commit 0ee07a484e

View File

@ -408,7 +408,7 @@ rpc_bdev_nvme_attach_controller(struct spdk_jsonrpc_request *request,
* with past behavior. In the future, this behavior will change to "disable". */ * with past behavior. In the future, this behavior will change to "disable". */
SPDK_ERRLOG("The multipath parameter was not specified to bdev_nvme_attach_controller but " SPDK_ERRLOG("The multipath parameter was not specified to bdev_nvme_attach_controller but "
"it was used to add a failover path. This behavior will default to rejecting " "it was used to add a failover path. This behavior will default to rejecting "
"the request in the future. Specify the 'multipath' parameter to control the behavior"); "the request in the future. Specify the 'multipath' parameter to control the behavior\n");
ctx->req.multipath = strdup("failover"); ctx->req.multipath = strdup("failover");
if (ctx->req.multipath == NULL) { if (ctx->req.multipath == NULL) {
SPDK_ERRLOG("cannot allocate multipath failover string\n"); SPDK_ERRLOG("cannot allocate multipath failover string\n");