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:
araujo 2016-04-20 01:38:54 +00:00
parent 8a86a0eb0a
commit 5329b494a9

View File

@ -749,7 +749,7 @@ command(void)
if (margc == 0)
continue;
c = getcmd(margv[0]);
if (c == (struct cmd *) - 1) {
if (c == (struct cmd *)-1) {
printf("?Ambiguous command\n");
continue;
}