/usr/openwin/bin/wsinfo - wrong output

2007-12-25 9:47:00

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.

Comments

Got something to say?

You must be logged in to post a comment.