Skip to content

Commit

Permalink
helloasm: fix \n positioning
Browse files Browse the repository at this point in the history
  • Loading branch information
stsp committed Jun 15, 2024
1 parent df235cb commit 39344ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion demos/helloasm/hello.c
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@ void copy_msg(void)
{
printf("Called %s from ASM\n", __FUNCTION__);
/* asm messages a $-terminated */
strcpy(msg, "Hello from ASM$\n");
strcpy(msg, "Hello from ASM\n$");
}

0 comments on commit 39344ea

Please sign in to comment.