diff options
| -rw-r--r-- | sys/lib/acid/truss | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/lib/acid/truss b/sys/lib/acid/truss index df1c9acdd..86070088d 100644 --- a/sys/lib/acid/truss +++ b/sys/lib/acid/truss @@ -157,8 +157,11 @@ trussapecalls = { defn addressof(pattern) { // translate to ape system calls if we have an ape binary - if _addressof("_EXITS") != 0 then + if _addressof("_EXITS") != 0 then { pattern = trussapecalls[match(pattern, trusscalls)]; + if pattern == {} then + return 0; + } if regexp("(seek|_SEEK)", pattern) && (objtype=="amd64" || objtype == "power64" || objtype == "alpha") then pattern = "_" + pattern; return _addressof(pattern); |
