commit b1304f7ab2facdaec4d97b480535c1633d03247c
parent 59b30ab1404c3c97b232afb51dea024f499fd4ea
Author: rminnich@gmail.com <none@none>
Date: Wed, 19 May 2010 15:41:14 -0700
fix errstr printing
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/9vx/trap.c b/src/9vx/trap.c
@@ -438,7 +438,7 @@ retprint(Ureg *ureg, int syscallno, uvlong start, uvlong stop)
if (ureg->ax != -1)
errstr = "";
else
- errstr = up->errstr;
+ errstr = up->syserrstr;
if(up->syscalltrace)
free(up->syscalltrace);