|
@@ -421,7 +421,7 @@ struct inode *fat_iget(struct super_block *sb, loff_t i_pos)
|
|
|
|
|
|
static int is_exec(unsigned char *extension)
|
|
|
{
|
|
|
- unsigned char *exe_extensions = "EXECOMBAT", *walk;
|
|
|
+ unsigned char exe_extensions[] = "EXECOMBAT", *walk;
|
|
|
|
|
|
for (walk = exe_extensions; *walk; walk += 3)
|
|
|
if (!strncmp(extension, walk, 3))
|