Project

General

Profile

Actions

Bug #4156

closed

prtconf - illumos or more generic branding to replace "Oracle Corporation"

Added by Sam Zaydel over 7 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Start date:
2013-09-24
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage
Gerrit CR:

Description

Seems like this code block should be updated with something other than "Oracle Corporation". While this tool is not the most popular tool out there, this seems like it should be done at some point. http://src.illumos.org/source/xref/illumos-gate/usr/src/cmd/prtconf/prtconf.c#346

Now:
if (ret <= 1) {
    (void) strncpy(hw_provider, "Oracle Corporation",
        sizeof (hw_provider));
}

Should probably be, maybe even more generic than this:
if (ret <= 1) {
    (void) strncpy(hw_provider, "illumos",
        sizeof (hw_provider));
}
Actions

Also available in: Atom PDF