From 6fab9a3e6f0a18ce63662fceedb87e96f2680d83 Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Mon, 21 Sep 2009 15:32:06 +0000 Subject: Use KEYC_NONE constant instead of 0 on init. --- cmd-if-shell.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cmd-if-shell.c') diff --git a/cmd-if-shell.c b/cmd-if-shell.c index 86502a7f..e84efa84 100644 --- a/cmd-if-shell.c +++ b/cmd-if-shell.c @@ -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) { -- cgit