Skip to content

Commit

Permalink
Make sure intext goes in code section and no data section gets created.
Browse files Browse the repository at this point in the history
  • Loading branch information
tonioni committed Oct 2, 2018
1 parent a183c70 commit 5b47be0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion init.c
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,7 @@ static void InstallDiskChangeHandler(struct globaldata *g)
struct IOExtTD *request;
struct Interrupt *di;
UBYTE *intname;
static const UBYTE *intext = "_interrupt";
static const UBYTE *const intext = "_interrupt";

intname = AllocMemR (g->mountname[0]+strlen(intext)+1, MEMF_PUBLIC, g);
CopyMem(g->mountname+1,intname,g->mountname[0]);
Expand Down

0 comments on commit 5b47be0

Please sign in to comment.