mirror of
https://github.com/hsoft/collapseos.git
synced 2024-12-25 05:18:06 +11:00
tools/memdump: expect proper prompt
This commit is contained in:
parent
fff893452d
commit
a8302920cb
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user