md: sb_equal(): Fix misleading printk.
authorAndre Noll <maan@systemlinux.org>
Sun, 23 Mar 2008 14:10:33 +0000 (15:10 +0100)
committerNeil Brown <neilb@suse.de>
Tue, 8 Jul 2008 00:53:20 +0000 (10:53 +1000)
Signed-off-by: Andre Noll <maan@systemlinux.org>
Signed-off-by: Neil Brown <neilb@suse.de>
drivers/md/md.c

index a849e06..73399d1 100644 (file)
@@ -564,7 +564,7 @@ static int sb_equal(mdp_super_t *sb1, mdp_super_t *sb2)
 
        if (!tmp1 || !tmp2) {
                ret = 0;
-               printk(KERN_INFO "md.c: sb1 is not equal to sb2!\n");
+               printk(KERN_INFO "md.c sb_equal(): failed to allocate memory!\n");
                goto abort;
        }