From: Andrew Morton Date: Mon, 14 Aug 2006 06:24:17 +0000 (-0700) Subject: [PATCH] adfs error message fix X-Git-Tag: v2.6.18-rc5~94 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1725cd0ae07bb31f68803edcc5bdc99952c7d2f4;p=linux-2.6 [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 ba1c88af49..8201101949 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)