acid: fix errstr syscall data offset for truss library

This commit is contained in:
mischief 2014-02-25 09:31:58 -08:00
parent 26af562313
commit ec37e34f07

View file

@ -245,7 +245,7 @@ defn truss() {
print("\tdata: \"", *(arg[1]\s), "\"\n");
}
if (ret>=0) && (match(prevpc, errstrPC)>=0) then {
print("\tdata: \"", *(arg[1]\s), "\"\n");
print("\tdata: \"", *(arg[0]\s), "\"\n");
}
if (ret>=0) && (match(prevpc, awaitPC)>=0) then {
print("\tdata: ");