summaryrefslogtreecommitdiffstats
path: root/util.c
diff options
context:
space:
mode:
authorXiao Ni <xni@redhat.com>2024-05-22 10:50:38 +0200
committerMariusz Tkaczyk <mariusz.tkaczyk@linux.intel.com>2024-05-24 10:03:53 +0200
commit13a0e92a3ed70c52246a0f0572dee61203994327 (patch)
tree4d97be906793a0ceb27729e800e033d788877f96 /util.c
parentMakefile: fix make -s detection (diff)
downloadmdadm-13a0e92a3ed70c52246a0f0572dee61203994327.tar.xz
mdadm-13a0e92a3ed70c52246a0f0572dee61203994327.zip
Change some error messages to info level
These logs are not error logs. Change them to info level. Signed-off-by: Xiao Ni <xni@redhat.com> Signed-off-by: Mariusz Tkaczyk <mariusz.tkaczyk@linux.intel.com>
Diffstat (limited to '')
-rw-r--r--util.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/util.c b/util.c
index bf79742f..48c97545 100644
--- a/util.c
+++ b/util.c
@@ -633,9 +633,9 @@ int check_ext2(int fd, char *name)
bsize = sb[24]|(sb[25]|(sb[26]|sb[27]<<8)<<8)<<8;
size = sb[4]|(sb[5]|(sb[6]|sb[7]<<8)<<8)<<8;
size <<= bsize;
- pr_err("%s appears to contain an ext2fs file system\n",
+ pr_info("%s appears to contain an ext2fs file system\n",
name);
- cont_err("size=%lluK mtime=%s", size, ctime(&mtime));
+ pr_info("size=%lluK mtime=%s", size, ctime(&mtime));
return 1;
}