summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1993-11-18 05:29:27 +0000
committerMichael I. Bushnell <mib@gnu.org>1993-11-18 05:29:27 +0000
commitbe3a974146976c47d368adeba7d877eeefd2e246 (patch)
tree01e5a7e876416e17a7f3bc3293cd115f186cf525
parenta41e64f222d9696fa93011c936fca1821e257650 (diff)
Formerly hostarch.c.~3~
-rw-r--r--exec/hostarch.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/exec/hostarch.c b/exec/hostarch.c
index 4d6f339a..01423052 100644
--- a/exec/hostarch.c
+++ b/exec/hostarch.c
@@ -40,9 +40,9 @@ aout_mach_host_machine (host_t host, int *host_machine)
{
error_t err;
struct host_basic_info hostinfo;
+ unsigned int hostinfocnt = HOST_BASIC_INFO_COUNT;
- if (err = host_info (host, HOST_BASIC_INFO,
- &hostinfo, sizeof (hostinfo)))
+ if (err = host_info (host, HOST_BASIC_INFO, &hostinfo, &hostinfocnt))
return err;
#ifdef BFD