MFC (by stefanf):
| The libedit update made a const cast necessary. | | Revision Changes Path | 1.30 +1 -1 src/sbin/fsdb/fsdb.c Approved by: re (scottl)
This commit is contained in:
parent
f93a29eca0
commit
7c007a1069
@ -243,7 +243,7 @@ cmdloop(void)
|
|||||||
* el_parse returns -1 to signal that it's not been handled
|
* el_parse returns -1 to signal that it's not been handled
|
||||||
* internally.
|
* internally.
|
||||||
*/
|
*/
|
||||||
if (el_parse(elptr, cmd_argc, cmd_argv) != -1)
|
if (el_parse(elptr, cmd_argc, (const char **)cmd_argv) != -1)
|
||||||
continue;
|
continue;
|
||||||
if (cmd_argc) {
|
if (cmd_argc) {
|
||||||
known = 0;
|
known = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user