diff options
Diffstat (limited to 'fs/isofs/dir.c')
-rw-r--r-- | fs/isofs/dir.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/isofs/dir.c b/fs/isofs/dir.c index b943cbd963bb..dfd14e1b9dcf 100644 --- a/fs/isofs/dir.c +++ b/fs/isofs/dir.c | |||
@@ -58,7 +58,7 @@ int get_acorn_filename(struct iso_directory_record *de, | |||
58 | std = sizeof(struct iso_directory_record) + de->name_len[0]; | 58 | std = sizeof(struct iso_directory_record) + de->name_len[0]; |
59 | if (std & 1) | 59 | if (std & 1) |
60 | std++; | 60 | std++; |
61 | if ((*((unsigned char *) de) - std) != 32) | 61 | if (de->length[0] - std != 32) |
62 | return retnamlen; | 62 | return retnamlen; |
63 | chr = ((unsigned char *) de) + std; | 63 | chr = ((unsigned char *) de) + std; |
64 | if (strncmp(chr, "ARCHIMEDES", 10)) | 64 | if (strncmp(chr, "ARCHIMEDES", 10)) |