cmd: Use strtoul instead of _strtoul
The non-underscore one comes from vsprintf. Signed-off-by: Sean Cross <xobs@kosagi.com>
This commit is contained in:
parent
698b123bd0
commit
f8991202c6
8 changed files with 16 additions and 16 deletions
|
@ -21,7 +21,7 @@ int cmd_irq(int argc, char **argv)
|
|||
return -1;
|
||||
}
|
||||
|
||||
num = _strtoul(argv[1], NULL, 0);
|
||||
num = strtoul(argv[1], NULL, 0);
|
||||
if (num >= __irq_max__) {
|
||||
printf("Only %d IRQs present\n", __irq_max__);
|
||||
return -1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue