# | Line 145 | Line 145 | char *prompt; | |
---|---|---|
145 | char inpbuf[256]; | |
146 | char *args; | |
147 | again: | |
148 | < | (*dev->comout)(prompt); /* get command + arguments */ |
149 | < | (*dev->comin)(inpbuf); |
148 | > | (*dev->comin)(inpbuf, prompt); /* get command + arguments */ |
149 | for (args = inpbuf; *args && *args != ' '; args++) | |
150 | ; | |
151 | if (*args) *args++ = '\0'; |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |