Use NULL instead of 0 for pointers.

Small cosmetic change.

MFC after:	2 weeks.
This commit is contained in:
Marcelo Araujo 2016-04-20 01:28:31 +00:00
parent 61c2ed541d
commit b4b3d271de
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=298325

View File

@ -749,11 +749,11 @@ 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;
}
if (c == 0) {
if (c == NULL) {
printf("?Invalid command\n");
continue;
}