OSDN Git Service
(root)
/
hos
/
hos-v4a.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0ab1d7b
)
(none)
author
ryuz
<ryuz>
Sun, 4 May 2008 09:15:09 +0000
(09:15 +0000)
committer
ryuz
<ryuz>
Sun, 4 May 2008 09:15:09 +0000
(09:15 +0000)
sample/ia32/pcat/sample.c
patch
|
blob
|
history
diff --git
a/sample/ia32/pcat/sample.c
b/sample/ia32/pcat/sample.c
index
6644a2f
..
4fadd89
100755
(executable)
--- a/
sample/ia32/pcat/sample.c
+++ b/
sample/ia32/pcat/sample.c
@@
-93,7
+93,8
@@
void print_state(int num, char *text)
{
msg->text[4+i] = text[i];
}
- msg->text[i] = '\n';
+ msg->text[4+i] = '\n';
+ msg->text[4+i+1] = '\0';
/*
strcpy(&msg->text[4], text);