From 31ccf2f8134538bd3f4b2bad0d092536b3adb519 Mon Sep 17 00:00:00 2001 From: Tiago Cunha Date: Tue, 22 Sep 2009 14:06:40 +0000 Subject: Sync OpenBSD patchset 342: Use KEYC_NONE constant instead of 0 on init. --- cmd-command-prompt.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cmd-command-prompt.c') diff --git a/cmd-command-prompt.c b/cmd-command-prompt.c index 004fe962..0ef56df5 100644 --- a/cmd-command-prompt.c +++ b/cmd-command-prompt.c @@ -1,4 +1,4 @@ -/* $Id: cmd-command-prompt.c,v 1.25 2009-08-25 13:53:39 tcunha Exp $ */ +/* $Id: cmd-command-prompt.c,v 1.26 2009-09-22 14:06:40 tcunha Exp $ */ /* * Copyright (c) 2008 Nicholas Marriott @@ -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) { -- cgit