9os

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit f189be4bc59d57d645cd80b48fbcea5ee36080d5
parent 4711a531a707fede42ee79c6915b84ea74b24de2
Author: Dimitris Papastamos <dimitris.papastamos@arm.com>
Date:   Wed,  7 Nov 2018 11:49:14 +0000

[debuglang] Use estrtoull() in the get command

Change-Id: Ie254061b795eb540317bd8c05143f99693c543ea
Signed-off-by: Dimitris Papastamos <dimitris.papastamos@arm.com>

Diffstat:
Msrc/debuglang/debuglang.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/debuglang/debuglang.c b/src/debuglang/debuglang.c @@ -171,7 +171,7 @@ do_get(char **argv, int argc, struct trapframe *fp) switch (argc) { case 3: - switch (atoi(argv[2])) { + switch (estrtoull(argv[2], 10)) { case 10: fmt="%llu\n"; break;