1
0
mirror of https://github.com/hsoft/collapseos.git synced 2024-11-23 15:58:05 +11:00

tools/memdump: expect proper prompt

This commit is contained in:
Virgil Dupras 2020-06-30 11:06:59 -04:00
parent fff893452d
commit a8302920cb

View File

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