SUMMARY: /usr/openwin/bin/wsinfo - wrong output

From: Liliana Windver (liliana@sun100.hai.iec.co.il)
Date: Thu Mar 28 1996 - 08:05:20 CST


My original question:

>Hi sun-managers,
>I have a SPARCstation 20/612 on my desk with Solaris 2.4 and 101945-34 patch level.
>But when I run /usr/openwin/bin/wsinfo this is the output:
> ...
> Workstation Type: Sun 4/80 (SPARCstation 10)
> ...
>I'm trying to truss this command and I guess that the parameter
>SI_HW_PROVIDER for systeminfo(....) is what I received but I can't see it.
>My questions:
> 1. From where this wrong value is printed ?
> 2. Why systeminfo() and sysconfig() are undocumented ?
>
>

Thank you to Casper Dik <casper@holland.Sun.COM> :

systeminfo() is listed by truss, it's documented as sysinfo()
sysconfig() is listed, it's documented as sysconf()

What you're seeing is a bug in 2.4, fixed in 2.5.



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:10:56 CDT