blob: 9fadb162edea7329dc842707412ec67ef8a6e00e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
// Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "device/usb/usb_error.h"
#include "third_party/libusb/src/libusb/libusb.h"
namespace device {
std::string ConvertPlatformUsbErrorToString(int errcode) {
return libusb_strerror(static_cast<libusb_error>(errcode));
}
} // namespace device
|