Skip to content

Commit 8d05597

Browse files
authored
Merge pull request #302 from martin-gpy/update_log_level
fabrics: update log level for write failures
2 parents f020e16 + 866c288 commit 8d05597

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)