diff options
Diffstat (limited to 'cmd/pcap.c')
-rw-r--r-- | cmd/pcap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/pcap.c b/cmd/pcap.c index c751980c55..ab5c1a7e87 100644 --- a/cmd/pcap.c +++ b/cmd/pcap.c @@ -19,7 +19,7 @@ static int do_pcap_init(struct cmd_tbl *cmdtp, int flag, int argc, return CMD_RET_USAGE; addr = hextoul(argv[1], NULL); - size = simple_strtoul(argv[2], NULL, 10); + size = dectoul(argv[2], NULL); return pcap_init(addr, size) ? CMD_RET_FAILURE : CMD_RET_SUCCESS; } |