1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-06 04:31:29 +00:00

Correct a typo

This commit is contained in:
dmiller
2014-06-19 04:06:08 +00:00
parent af57ddfd90
commit d90d991571

View File

@@ -172,13 +172,13 @@ static void mac_prefix_init() {
lineno++;
if (*line == '#') continue;
if (!isxdigit((int) (unsigned char) *line)) {
error("Parse error one line #%d of %s. Giving up parsing.", lineno, filename);
error("Parse error on line #%d of %s. Giving up parsing.", lineno, filename);
break;
}
/* First grab the prefix */
pfx = strtol(line, &endptr, 16);
if (!endptr || !isspace((int) (unsigned char) *endptr)) {
error("Parse error one line #%d of %s. Giving up parsing.", lineno, filename);
error("Parse error on line #%d of %s. Giving up parsing.", lineno, filename);
break;
}
/* Now grab the vendor */