From: Andrew Morton Date: Mon, 14 Aug 2006 06:24:17 +0000 (-0700) Subject: [PATCH] adfs error message fix X-Git-Tag: MMI-PSA29.97-13-9~47880 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=1725cd0ae07bb31f68803edcc5bdc99952c7d2f4;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git [PATCH] adfs error message fix Don't use NULL as a printf control string. Fixes bug #6889. Cc: Ralph Corderoy Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman --- diff --git a/fs/adfs/super.c b/fs/adfs/super.c index ba1c88af49fe..82011019494c 100644 --- a/fs/adfs/super.c +++ b/fs/adfs/super.c @@ -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)