projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b64ef8a
)
[PATCH] adfs error message fix
author
Andrew Morton
<akpm@osdl.org>
Mon, 14 Aug 2006 06:24:17 +0000
(23:24 -0700)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Mon, 14 Aug 2006 19:54:28 +0000
(12:54 -0700)
Don't use NULL as a printf control string. Fixes bug #6889.
Cc: Ralph Corderoy <ralph@inputplus.co.uk>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
fs/adfs/super.c
patch
|
blob
|
history
diff --git
a/fs/adfs/super.c
b/fs/adfs/super.c
index
ba1c88a
..
8201101
100644
(file)
--- 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)