summaryrefslogtreecommitdiff
path: root/mdstat.c
diff options
context:
space:
mode:
Diffstat (limited to 'mdstat.c')
-rw-r--r--mdstat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mdstat.c b/mdstat.c
index 17405601..0dece0aa 100644
--- a/mdstat.c
+++ b/mdstat.c
@@ -173,13 +173,13 @@ struct mdstat_ent *mdstat_read(int hold, int start)
else
continue;
if (ep == NULL || *ep ) {
- /* fprintf(stderr, Name ": bad /proc/mdstat line starts: %s\n", line); */
+ /* pr_err("bad /proc/mdstat line starts: %s\n", line); */
continue;
}
ent = malloc(sizeof(*ent));
if (!ent) {
- fprintf(stderr, Name ": malloc failed reading /proc/mdstat.\n");
+ pr_err("malloc failed reading /proc/mdstat.\n");
free_line(line);
break;
}