From a8302920cbe99dc061963f8639249dfddf08c8db Mon Sep 17 00:00:00 2001 From: Virgil Dupras Date: Tue, 30 Jun 2020 11:06:59 -0400 Subject: [PATCH] tools/memdump: expect proper prompt --- tools/memdump.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/memdump.c b/tools/memdump.c index 158eb88..027f302 100644 --- a/tools/memdump.c +++ b/tools/memdump.c @@ -38,7 +38,7 @@ int main(int argc, char **argv) unsigned char c = strtol(s, NULL, 16); putchar(c); } - read(fd, s, 2); // read prompt + readprompt(fd); sendcmdp(fd, "FORGET _"); return 0; }