Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 06 Jun 2024 14:38:57 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 277653] devel/stlink: lots of libusb debug output
Message-ID:  <bug-277653-7788-4E26BvY8om@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-277653-7788@https.bugs.freebsd.org/bugzilla/>
References:  <bug-277653-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D277653

Ed Maste <emaste@freebsd.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |emaste@freebsd.org

--- Comment #1 from Ed Maste <emaste@freebsd.org> ---
libusb10.h:

#define DPRINTF(ctx, dbg, format, ...) do {                     \
        switch (dbg) {                                          \
        case LIBUSB_DEBUG_FUNCTION:                             \
                if ((ctx)->debug & LIBUSB_DEBUG_FUNCTION) {     \
                        printf("LIBUSB_FUNCTION: "              \
                               format "\n", ## __VA_ARGS__);    \
                }                                               \
                break;                                          \
        case LIBUSB_DEBUG_TRANSFER:                             \
                if ((ctx)->debug & LIBUSB_DEBUG_TRANSFER) {     \
                        printf("LIBUSB_TRANSFER: "              \
                               format "\n", ## __VA_ARGS__);    \
                }                                               \
                break;                                          \
        default:                                                \
                break;                                          \
        }                                                       \
} while (0)

libusb_set_debug() is getting called, or LIBUSB_DEBUG is set in the
environment?

--=20
You are receiving this mail because:
You are on the CC list for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-277653-7788-4E26BvY8om>