diff options
author | Luke T. Shumaker <lukeshu@lukeshu.com> | 2025-04-20 12:45:42 -0600 |
---|---|---|
committer | Luke T. Shumaker <lukeshu@lukeshu.com> | 2025-05-06 11:50:46 -0600 |
commit | 797a77fcc8655a641630758dc4022f215008f23b (patch) | |
tree | 0e485cb3a83ae7388a729b20f3aec617cb8e4bb1 /libusb/usb_common.c | |
parent | 0fec22d4106ff6f80296d1511eec7a82160c2245 (diff) |
libmisc: log.h: Add a "log_" prefix to errorf/infof/debugf
Diffstat (limited to 'libusb/usb_common.c')
-rw-r--r-- | libusb/usb_common.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libusb/usb_common.c b/libusb/usb_common.c index 29dec42..efd12bc 100644 --- a/libusb/usb_common.c +++ b/libusb/usb_common.c @@ -1,6 +1,6 @@ /* libusb/usb_common.c - Common framework for implementing multiple USB devices at once * - * Copyright (C) 2024 Luke T. Shumaker <lukeshu@lukeshu.com> + * Copyright (C) 2024-2025 Luke T. Shumaker <lukeshu@lukeshu.com> * SPDX-License-Identifier: AGPL-3.0-or-later */ @@ -68,12 +68,12 @@ uint16_t const *tud_descriptor_string_cb(uint8_t strid, uint16_t langid) { memcpy(desc.bString, globals.serial, bytelen); break; default: - debugf("GET STRING: unknown string id=%"PRIu8, strid); + log_debugf("GET STRING: unknown string id=%"PRIu8, strid); return NULL; } break; default: - debugf("GET STRING: unknown LANGID=%"PRIx16, langid); + log_debugf("GET STRING: unknown LANGID=%"PRIx16, langid); return NULL; } } |