Removed stray newline in LFS_ERROR for version

This commit is contained in:
Christopher Haster
2017-11-09 18:33:06 -06:00
parent 2ab150cc50
commit db51a395ba

2
lfs.c
View File

@@ -2027,7 +2027,7 @@ int lfs_mount(lfs_t *lfs, const struct lfs_config *cfg) {
} }
if (superblock.d.version > (0x00010001 | 0x0000ffff)) { if (superblock.d.version > (0x00010001 | 0x0000ffff)) {
LFS_ERROR("Invalid version %d.%d\n", LFS_ERROR("Invalid version %d.%d",
0xffff & (superblock.d.version >> 16), 0xffff & (superblock.d.version >> 16),
0xffff & (superblock.d.version >> 0)); 0xffff & (superblock.d.version >> 0));
return LFS_ERR_INVAL; return LFS_ERR_INVAL;