Project

General

Profile

Bug #3813

cfgadm: No matching library found

Added by Marcel Telka over 7 years ago. Updated over 7 years ago.

Status:
New
Priority:
Low
Assignee:
-
Category:
cmd - userland programs
Start date:
2013-06-14
Due date:
% Done:

0%

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

Description

The error should not be printed here:

$ cfgadm -la sata0/1
Ap_Id                          Type         Receptacle   Occupant     Condition
sata0/1::dsk/c5t1d0            cd/dvd       connected    configured   ok
sata0/1: No matching library found
$

History

#1

Updated by Marcel Telka over 7 years ago

  • Assignee deleted (Marcel Telka)
#2

Updated by Marcel Telka over 7 years ago

The problem seems to be in arg_got_resp(). The function does not mark the input parameter (sata0/1) as "responded" (inp->resp is not set to 1) even the output is printed for it. The dynamic attachment is causing the problem. It is handled differently here in arg_got_resp() and out_was_req().

So as a result, the arg_got_resp() won't mark sata0/1 as responded, but out_was_req() will make sure the "sata0/1::dsk/c5t1d0" is printed.

Also available in: Atom PDF