diff options
author | Simon Glass <sjg@chromium.org> | 2021-08-18 21:40:27 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2021-09-16 13:19:25 -0400 |
commit | ad6ddc57eeecbcad62177b47b1e2b63027bcf6a9 (patch) | |
tree | 68949fed05023f53c15bdb47c49f104a6cd4e713 /fs/squashfs/sqfs.c | |
parent | 64acd46a82f06dfae7a181437e256a4194e612d8 (diff) | |
download | u-boot-ad6ddc57eeecbcad62177b47b1e2b63027bcf6a9.tar.gz u-boot-ad6ddc57eeecbcad62177b47b1e2b63027bcf6a9.tar.bz2 u-boot-ad6ddc57eeecbcad62177b47b1e2b63027bcf6a9.zip |
sqfs: Suppress the message about missing filesystem
This message comes up a lot when scanning filesystems. It suggests to the
user that there is some sort of error, but in fact there is no reason to
expect that a particular partition has a sqfs filesystem. Other
filesystems don't print this error.
Turn it into a debug message.
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Miquel Raynal <miquel.raynal@bootlin.com>
Diffstat (limited to 'fs/squashfs/sqfs.c')
-rw-r--r-- | fs/squashfs/sqfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/squashfs/sqfs.c b/fs/squashfs/sqfs.c index 92ab8ac631..e2d91c654c 100644 --- a/fs/squashfs/sqfs.c +++ b/fs/squashfs/sqfs.c @@ -1090,7 +1090,7 @@ int sqfs_probe(struct blk_desc *fs_dev_desc, struct disk_partition *fs_partition /* Make sure it has a valid SquashFS magic number*/ if (get_unaligned_le32(&sblk->s_magic) != SQFS_MAGIC_NUMBER) { - printf("Bad magic number for SquashFS image.\n"); + debug("Bad magic number for SquashFS image.\n"); ret = -EINVAL; goto error; } |