wkz / phytool

Linux MDIO register access
GNU General Public License v2.0
143 stars 75 forks source link

Stop using %n #8

Closed lagerholm closed 3 years ago

lagerholm commented 3 years ago

Using strlen to find the size of name instead of %n in printf.

Solves issue #7.

Some tests that it works the same: https://ideone.com/pQp4wD