config is %d, not %s

This commit is contained in:
Sebastian Zagrodzki
2017-04-29 12:21:17 +02:00
parent 6d81ca37d3
commit 2794d88744

View File

@@ -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.