[PATCH] adfs error message fix
authorAndrew Morton <akpm@osdl.org>
Mon, 14 Aug 2006 06:24:17 +0000 (23:24 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 14 Aug 2006 19:54:28 +0000 (12:54 -0700)
Don't use NULL as a printf control string.  Fixes bug #6889.

Cc: Ralph Corderoy <ralph@inputplus.co.uk>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
fs/adfs/super.c

index ba1c88af49fee9e0c288479b06b3e774b19f6f8b..82011019494ccf6bbcefa838e28b5c130739470b 100644 (file)
@@ -308,7 +308,7 @@ static struct adfs_discmap *adfs_read_map(struct super_block *sb, struct adfs_di
        if (adfs_checkmap(sb, dm))
                return dm;
 
-       adfs_error(sb, NULL, "map corrupted");
+       adfs_error(sb, "map corrupted");
 
 error_free:
        while (--zone >= 0)