mirror of
https://github.com/nmap/nmap.git
synced 2025-12-06 12:41:29 +00:00
Correct a typo
This commit is contained in:
@@ -172,13 +172,13 @@ static void mac_prefix_init() {
|
|||||||
lineno++;
|
lineno++;
|
||||||
if (*line == '#') continue;
|
if (*line == '#') continue;
|
||||||
if (!isxdigit((int) (unsigned char) *line)) {
|
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;
|
break;
|
||||||
}
|
}
|
||||||
/* First grab the prefix */
|
/* First grab the prefix */
|
||||||
pfx = strtol(line, &endptr, 16);
|
pfx = strtol(line, &endptr, 16);
|
||||||
if (!endptr || !isspace((int) (unsigned char) *endptr)) {
|
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;
|
break;
|
||||||
}
|
}
|
||||||
/* Now grab the vendor */
|
/* Now grab the vendor */
|
||||||
|
|||||||
Reference in New Issue
Block a user