Menu

#22 FreeBSD incorrect member name

open
nobody
None
5
2002-07-16
2002-07-16
No

I believe, Line 150 of libs/aethera/names.cpp
uses an incorrect member name when reference
the utsname structure. The line read
domain=ubuf.__domainname;

From the FreeBSD man uname(3)
"The utsname structure is defined in the
<sys/utsname.h> header file, and
contains the following members:
sysname Name of the operating system
implementation.
nodename Network name of this
machine.
release Release level of the operating
system.
version Version level of the operating
system.
machine Machine hardware platform."
The line should read
domain=ubuf.nodename

It appeared to compile this portion correctly after
making the correction, but I have been unable to
finish compiling the application, so I do not know if
this fix works.

Discussion


Log in to post a comment.