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:
Sean Cross 2014-11-28 13:12:53 +08:00
parent 698b123bd0
commit f8991202c6
8 changed files with 16 additions and 16 deletions

View file

@ -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;