diff options
author | Gleydson Soares <gsoares@gmail.com> | 2015-12-07 08:32:05 -0300 |
---|---|---|
committer | Russ Cox <rsc@swtch.com> | 2015-12-08 16:41:13 +0000 |
commit | 009b0cb5eb340b8bc3268bfaeb86abfeffdc1b1c (patch) | |
tree | 5d676152291dd81eddabf8537dc598bff588d648 /src/cmd/auxstats/mkfile | |
parent | 6a93bd5c92bd2954314f492f10bbcac2c3416da0 (diff) | |
download | plan9port-009b0cb5eb340b8bc3268bfaeb86abfeffdc1b1c.tar.gz plan9port-009b0cb5eb340b8bc3268bfaeb86abfeffdc1b1c.tar.bz2 plan9port-009b0cb5eb340b8bc3268bfaeb86abfeffdc1b1c.zip |
auxstats: fix OpenBSD by using getifaddrs(3) instead of kvm(3)
Change-Id: I6a096ba24809a402911c30406d384d16c03fc96c
Reviewed-on: https://plan9port-review.googlesource.com/1410
Reviewed-by: Russ Cox <rsc@swtch.com>
Diffstat (limited to 'src/cmd/auxstats/mkfile')
-rw-r--r-- | src/cmd/auxstats/mkfile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/auxstats/mkfile b/src/cmd/auxstats/mkfile index e1771b80..818e9d39 100644 --- a/src/cmd/auxstats/mkfile +++ b/src/cmd/auxstats/mkfile @@ -12,6 +12,6 @@ HFILES=\ <$PLAN9/src/mkone -KVM=`{if uname |egrep 'BSD' >/dev/null; then echo -lkvm; fi} +KVM=`{if uname |egrep 'BSD' | egrep -v 'OpenBSD' >/dev/null; then echo -lkvm; fi} LDFLAGS=$LDFLAGS $KVM |