Use NULL instead of 0 for pointers.

Small cosmetic change.

MFC after:	2 weeks.
This commit is contained in:
araujo 2016-04-20 01:28:31 +00:00
parent b9140f06e3
commit a05218e04b

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