From: Andrew Morton Don't use NULL as a printf control string. Fixes bug #6889. Cc: Ralph Corderoy Signed-off-by: Andrew Morton --- fs/adfs/super.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -puN fs/adfs/super.c~adfs-error-message-fix fs/adfs/super.c --- a/fs/adfs/super.c~adfs-error-message-fix +++ a/fs/adfs/super.c @@ -308,7 +308,7 @@ static struct adfs_discmap *adfs_read_ma if (adfs_checkmap(sb, dm)) return dm; - adfs_error(sb, NULL, "map corrupted"); + adfs_error(sb, "map corrupted"); error_free: while (--zone >= 0) _