=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/lam/lam.c,v retrieving revision 1.15 retrieving revision 1.16 diff -c -r1.15 -r1.16 *** src/usr.bin/lam/lam.c 2013/11/15 22:20:04 1.15 --- src/usr.bin/lam/lam.c 2013/11/20 21:22:17 1.16 *************** *** 1,4 **** ! /* $OpenBSD: lam.c,v 1.15 2013/11/15 22:20:04 millert Exp $ */ /* $NetBSD: lam.c,v 1.2 1994/11/14 20:27:42 jtc Exp $ */ /*- --- 1,4 ---- ! /* $OpenBSD: lam.c,v 1.16 2013/11/20 21:22:17 deraadt Exp $ */ /* $NetBSD: lam.c,v 1.2 1994/11/14 20:27:42 jtc Exp $ */ /*- *************** *** 110,116 **** F = (ch == 'F'); /* Validate format string argument. */ for (p = optarg; *p != '\0'; p++) ! if (!isdigit(*p) && *p != '.' && *p != '-') errx(1, "%s: invalid width specified", optarg); /* '%' + width + 's' + '\0' */ --- 110,117 ---- F = (ch == 'F'); /* Validate format string argument. */ for (p = optarg; *p != '\0'; p++) ! if (!isdigit((unsigned char)*p) && ! *p != '.' && *p != '-') errx(1, "%s: invalid width specified", optarg); /* '%' + width + 's' + '\0' */