Skip to content

Commit 5b4c2cb

Browse files
dwsuseigaw
authored andcommitted
fabrics: fix map error level in __nvmf_add_ctrl
The LOG_NOTICE level is always set. Only notify the user when at least the INFO level is set. Signed-off-by: Daniel Wagner <[email protected]>
1 parent 0ba11d2 commit 5b4c2cb

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
@@ -814,7 +814,7 @@ static int __nvmf_add_ctrl(nvme_root_t r, const char *argstr)
814814
(int)strcspn(argstr,"\n"), argstr);
815815
ret = write(fd, argstr, len);
816816
if (ret != len) {
817-
nvme_msg(r, LOG_NOTICE, "Failed to write to %s: %s\n",
817+
nvme_msg(r, LOG_INFO, "Failed to write to %s: %s\n",
818818
nvmf_dev, strerror(errno));
819819
switch (errno) {
820820
case EALREADY:

0 commit comments

Comments
 (0)