Fix regression introduced in previous migration to strtol() by
authoranton <anton@openbsd.org>
Thu, 29 Aug 2024 07:33:50 +0000 (07:33 +0000)
committeranton <anton@openbsd.org>
Thu, 29 Aug 2024 07:33:50 +0000 (07:33 +0000)
commitcba65a98f73a7a31e2acc55e19a7f8508a740355
tree7b3bd41ac2d25d7ad9b9fe163e0980914a4a9a0e
parent12a2e91fe35d73b75455774d678d481e65bafb7a
Fix regression introduced in previous migration to strtol() by
correcting the error condition, making it on par with the example in the
manual.

ok op@
lib/libpcap/scanner.l