tbug fix - plan9port - [fork] Plan 9 from user space
HTML git clone git://src.adamsgaard.dk/plan9port
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
DIR commit b2e0da3e397dc9dc0858119072ad53548e91e7b9
DIR parent e5d68728eb1fb4526b67358e7e55698eea4ed315
HTML Author: rsc <devnull@localhost>
Date: Sun, 13 Feb 2005 18:33:41 +0000
bug fix
Diffstat:
M src/lib9/fcallfmt.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
DIR diff --git a/src/lib9/fcallfmt.c b/src/lib9/fcallfmt.c
t@@ -242,7 +242,7 @@ dumpsome(char *ans, char *e, char *buf, long count)
for(i=0; i<count; i++){
if(i>0 && i%4==0)
*p++ = ' ';
- sprint(p, "%2.2ux", buf[i]);
+ sprint(p, "%2.2ux", (uchar)buf[i]);
p += 2;
}
}