Use KEYC_NONE constant instead of 0 on init.

This commit is contained in:
Nicholas Marriott
2009-09-21 15:32:06 +00:00
parent a448524424
commit 6fab9a3e6f
8 changed files with 8 additions and 8 deletions

View File

@ -66,7 +66,7 @@ cmd_if_shell_parse(struct cmd *self, int argc, char **argv, char **cause)
struct cmd_if_shell_data *data;
int opt;
self->entry->init(self, 0);
self->entry->init(self, KEYC_NONE);
data = self->data;
while ((opt = getopt(argc, argv, "")) != -1) {