compare snprintf return value with -1. this isn't really necessary because
authortedu <tedu@openbsd.org>
Sun, 13 Jul 2014 18:59:40 +0000 (18:59 +0000)
committertedu <tedu@openbsd.org>
Sun, 13 Jul 2014 18:59:40 +0000 (18:59 +0000)
commitb3fe1a3a892826a12d652a20ce66412d99b4ce48
tree19f80ad2a6811a339fe9e65bbe187db1d24bb3ab
parent3cfcb27a367dcfdbf33e4ee3d93c5a3356428a2d
compare snprintf return value with -1. this isn't really necessary because
int promotion rules guarantee the correct result when compared with sizeof,
but it is perhaps easier for some people to understand it this way.
from Doug Hogan.
usr.bin/signify/signify.c