strtonum() for /usr/games/caesar

2016-02-23 Thread Peter Williams
Hi Everyone, I noticed that /usr/games/caesar uses atoi() in order to parse the rotation argument. I thought that it would be better if this used strtonum(), so I've submitted a diff that changes this. It also changes the rotation bounds check in the printit() function, and brings it into the

uplcom usb panic in amd64 snap

2016-02-23 Thread Edd Barrett
Hi, I was using a USB->Serial converter on my x240t: uplcom0 at uhub3 port 1 "Prolific Technology PL2303 Serial" rev 1.10/2.02 addr3 I got the following panic (typed by hand, so beware of typos): ---8<--- usbd_free_xfer: xfer=0xfff041cdb3e70 not free splassert: assertwaitok: want 0 have 5