mirror of
https://github.com/hsoft/collapseos.git
synced 2024-11-23 19:58: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);
|
unsigned char c = strtol(s, NULL, 16);
|
||||||
putchar(c);
|
putchar(c);
|
||||||
}
|
}
|
||||||
read(fd, s, 2); // read prompt
|
readprompt(fd);
|
||||||
sendcmdp(fd, "FORGET _");
|
sendcmdp(fd, "FORGET _");
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user