Skip to content

Commit 0aed9b4

Browse files
committed
lsusb: Do not get the os_id twice.
1 parent c3be333 commit 0aed9b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/lsusb/lsusb.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ void print_device(libusbp::device & device)
4545
<< '.'
4646
<< std::setfill('0') << std::setw(2) << (revision & 0xFF)
4747
<< ' '
48-
<< device.get_os_id()
48+
<< os_id
4949
<< ' '
5050
<< std::setfill(' ') << std::left << serial_number
5151
<< std::endl;

0 commit comments

Comments
 (0)