Fix more bugs in r5044

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5087 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
blueswir1 2008-08-25 20:43:37 +00:00
parent 62dd234ff7
commit ac700bce63
2 changed files with 2 additions and 2 deletions

View file

@ -2826,7 +2826,7 @@ static void
oappend (s)
const char *s;
{
pstrcpy (obufp, (size_t)(obufp - obuf), s);
pstrcpy (obufp, sizeof(obuf) - (size_t)(obufp - obuf), s);
obufp += strlen (s);
}