tarm / serial

BSD 3-Clause "New" or "Revised" License
1.61k stars 452 forks source link

[minor] Example usage in serial.go calls the wrong logging function #49

Open lackofdream opened 8 years ago

lackofdream commented 8 years ago

In serial.go Line 53

log.Print("%q", buf[:n])

where should be

log.Printf("%q", buf[:n])

It doesn't matter much, but may be confusing.