Module Name: src Committed By: rillig Date: Sun Jan 8 15:37:56 UTC 2023
Modified Files: src/usr.sbin/flashctl: flashctl.c Log Message: flashctl: fix error handling of integer arguments Previously, flashctl accepted the command 'erase 0x 0x' as valid, even though the numbers are not valid hex numbers. Pointed out by lint, which complained about the wrong type conversion for tolower, isxdigit and isdigit. To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/usr.sbin/flashctl/flashctl.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.