Skip to content

Commit

Permalink
[PATCH] adfs error message fix
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
Andrew Morton authored and gregkh committed Aug 14, 2006
1 parent b64ef8a commit 1725cd0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fs/adfs/super.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 1725cd0

Please sign in to comment.