summaryrefslogtreecommitdiff
path: root/raid6check.c
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2012-07-09 17:14:16 +1000
committerNeilBrown <neilb@suse.de>2012-07-09 17:14:16 +1000
commite7b84f9d5029338980d99d04b479ce814d4c4fcb (patch)
treebdaf73fa67253446dc0c5faef9256971d35e4955 /raid6check.c
parent5187a385870950d779b6434b2d2982914367f638 (diff)
Introduce pr_err for printing error messages.
'pr_err("' is a lot shorter than 'fprintf(stderr, Name ": ' cont_err() is also available. Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'raid6check.c')
-rw-r--r--raid6check.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/raid6check.c b/raid6check.c
index d4b60859..1d91c96a 100644
--- a/raid6check.c
+++ b/raid6check.c
@@ -263,7 +263,7 @@ int main(int argc, char *argv[])
mdfd = open(argv[1], O_RDONLY);
if(mdfd < 0) {
perror(argv[1]);
- fprintf(stderr,"%s: cannot open %s\n", prg, argv[1]);
+ fprintf(stderr, "%s: cannot open %s\n", prg, argv[1]);
exit_err = 2;
goto exitHere;
}