aboutsummaryrefslogtreecommitdiff
path: root/acid
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2004-04-20 05:51:36 +0000
committerrsc <devnull@localhost>2004-04-20 05:51:36 +0000
commit6c8856475f496f9e36038d253a4653a23b5db187 (patch)
tree680bd2da9c4c4749347fabf437dc0e28f924420e /acid
parentebd395452e7f81ece3d3877a04fbe26a324f6a3d (diff)
downloadplan9port-6c8856475f496f9e36038d253a4653a23b5db187.tar.gz
plan9port-6c8856475f496f9e36038d253a4653a23b5db187.tar.bz2
plan9port-6c8856475f496f9e36038d253a4653a23b5db187.zip
acid on freebsd
Diffstat (limited to 'acid')
-rw-r--r--acid/3864
1 files changed, 2 insertions, 2 deletions
diff --git a/acid/386 b/acid/386
index bc045601..12081ebd 100644
--- a/acid/386
+++ b/acid/386
@@ -175,7 +175,7 @@ linkdebug()
defn
dynamicmap()
{
- if systype == "linux" then {
+ if systype == "linux" || systype == "freebsd" then {
local r, m, n;
r = linkdebug();
@@ -185,7 +185,7 @@ dynamicmap()
n = 0;
while m != 0 && n < 100 do {
complex Linkmap m;
- if m.name && *(m.name\b) then
+ if m.name && *(m.name\b) && access(*(m.name\s)) then
textfile({*(m.name\s), m.addr\X});
m = m.next;
n = n+1;