summaryrefslogtreecommitdiff
path: root/getloadavg.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@redhat.com>1995-08-07 20:48:08 +0000
committerRoland McGrath <roland@redhat.com>1995-08-07 20:48:08 +0000
commitee2b67af6d1c0f63c293545d1d5fc16768ecff32 (patch)
tree896508add981adcd6c5babcdf3d82a70ade3b31a /getloadavg.c
parent0afe62e2558c5d63febde52777895dc97cdb3cd8 (diff)
downloadgunmake-ee2b67af6d1c0f63c293545d1d5fc16768ecff32.tar.gz
[ps2]: Use nlist instead of knlist #ifdef _AIX.
Diffstat (limited to 'getloadavg.c')
-rw-r--r--getloadavg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/getloadavg.c b/getloadavg.c
index 5cf0b99..7f939d2 100644
--- a/getloadavg.c
+++ b/getloadavg.c
@@ -811,7 +811,7 @@ getloadavg (loadavg, nelem)
#ifndef SUNOS_5
if (
-#ifndef _AIX
+#if !(defined (_AIX) && !defined (ps2))
nlist (KERNEL_FILE, nl)
#else /* _AIX */
knlist (nl, 1, sizeof (nl[0]))