[PATCH] adfs error message fix

Don't use NULL as a printf control string.  Fixes bug #6889.

Cc: Ralph Corderoy <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
This commit is contained in:
Andrew Morton 2006-08-13 23:24:17 -07:00 • committed by Greg Kroah-Hartman
commit 1725cd0ae0

View 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)