Skip to content

Commit 866c288

Browse files
committed
fabrics: update log level for write failures
Update the log level to LOG_ERR for write failures in __nvmf_add_ctrl(). Signed-off-by: Martin George <[email protected]>
1 parent f020e16 commit 866c288

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/nvme/fabrics.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -485,7 +485,7 @@ static int __nvmf_add_ctrl(nvme_root_t r, const char *argstr)
485485
(int)strcspn(argstr,"\n"), argstr);
486486
ret = write(fd, argstr, len);
487487
if (ret != len) {
488-
nvme_msg(r, LOG_NOTICE, "Failed to write to %s: %s\n",
488+
nvme_msg(r, LOG_ERR, "Failed to write to %s: %s\n",
489489
nvmf_dev, strerror(errno));
490490
ret = -ENVME_CONNECT_WRITE;
491491
goto out_close;

0 commit comments

Comments
 (0)