Partially revert the change on r298325 where there is an
(-1) casted to a pointer. Submitted by: pfg MFC after: 2 weeks.
This commit is contained in:
parent
974482aa61
commit
6b1c46441c
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=298327
@ -749,7 +749,7 @@ command(void)
|
|||||||
if (margc == 0)
|
if (margc == 0)
|
||||||
continue;
|
continue;
|
||||||
c = getcmd(margv[0]);
|
c = getcmd(margv[0]);
|
||||||
if (c == (struct cmd *) - 1) {
|
if (c == (struct cmd *)-1) {
|
||||||
printf("?Ambiguous command\n");
|
printf("?Ambiguous command\n");
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user