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

@ -90,7 +90,7 @@ cmd_command_prompt_parse(struct cmd *self, int argc, char **argv, char **cause)
struct cmd_command_prompt_data *data;
int opt;
self->entry->init(self, 0);
self->entry->init(self, KEYC_NONE);
data = self->data;
while ((opt = getopt(argc, argv, "p:t:")) != -1) {