Skip to content

Commit 577315c

Browse files
mniestrojcarlescufi
authored andcommitted
fs: littlefs: drop newline character in log messages
Newline character is automatically appended in log backends such as UART, so there is no need to add it explicitly. Signed-off-by: Marcin Niestroj <[email protected]>
1 parent c314557 commit 577315c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

subsys/fs/littlefs_fs.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -817,10 +817,10 @@ static void mount_init(struct fs_mount_t *mp)
817817
int rc = fs_mount(mp);
818818

819819
if (rc < 0) {
820-
LOG_ERR("Automount %s failed: %d\n",
820+
LOG_ERR("Automount %s failed: %d",
821821
mp->mnt_point, rc);
822822
} else {
823-
LOG_INF("Automount %s succeeded\n",
823+
LOG_INF("Automount %s succeeded",
824824
mp->mnt_point);
825825
}
826826
}

0 commit comments

Comments
 (0)