lkml.org 
[lkml]   [2012]   [Jun]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] block/partitions/acorn.c: Changed string pointer declaration to array declaration for fewer asm statements
Date
Signed-off-by: Michael Miller <commnerd@gmail.com>

---
block/partitions/acorn.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/block/partitions/acorn.c b/block/partitions/acorn.c
index fbeb697..bf5847e 100644
--- a/block/partitions/acorn.c
+++ b/block/partitions/acorn.c
@@ -168,7 +168,7 @@ int adfspart_check_CUMANA(struct parsed_partitions *state)
unsigned int start_blk = 0;
Sector sect;
unsigned char *data;
- char *name = "CUMANA/ADFS";
+ char name[] = "CUMANA/ADFS";
int first = 1;
int slot = 1;

--
1.7.2.5


\
 
 \ /
  Last update: 2012-06-27 18:21    [W:0.031 / U:0.128 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site