From 2794d88744abb25e3f39c86b3b0d7edd9b82aa8c Mon Sep 17 00:00:00 2001 From: Sebastian Zagrodzki Date: Sat, 29 Apr 2017 12:21:17 +0200 Subject: [PATCH] config is %d, not %s --- usb/config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usb/config.go b/usb/config.go index de23391..c781772 100644 --- a/usb/config.go +++ b/usb/config.go @@ -78,7 +78,7 @@ func (c *Config) Close() error { // String returns the human-readable description of the configuration. func (c *Config) String() string { - return fmt.Sprintf("%s,config=%s", c.dev.String(), c.Info.Config) + return fmt.Sprintf("%s,config=%d", c.dev.String(), c.Info.Config) } // Control sends a control request to the device.