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:
Marcelo Araujo 2016-04-20 01:38:54 +00:00
parent 974482aa61
commit 6b1c46441c
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=298327

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;
}