summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorPierre-Yves Ritschard <pyr@cvs.openbsd.org>2007-11-20 15:37:25 +0000
committerPierre-Yves Ritschard <pyr@cvs.openbsd.org>2007-11-20 15:37:25 +0000
commit592ca4a35f528940ac0c5a13b93918092acab8af (patch)
tree77284e2a567ec51480f433d1c93fe51d4f3e61ca /usr.sbin
parentce660b2ac3ee604b365811a2954bdf69f0f509bb (diff)
NULL != NONE (but both equal 0)
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/hoststatectl/parser.c4
-rw-r--r--usr.sbin/relayctl/parser.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/hoststatectl/parser.c b/usr.sbin/hoststatectl/parser.c
index ee5451c8982..0ee00021098 100644
--- a/usr.sbin/hoststatectl/parser.c
+++ b/usr.sbin/hoststatectl/parser.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: parser.c,v 1.14 2007/10/19 12:08:55 pyr Exp $ */
+/* $OpenBSD: parser.c,v 1.15 2007/11/20 15:37:24 pyr Exp $ */
/*
* Copyright (c) 2006 Pierre-Yves Ritschard <pyr@openbsd.org>
@@ -65,7 +65,7 @@ static const struct token t_host_id[];
static const struct token t_main[] = {
{KEYWORD, "monitor", MONITOR, NULL},
- {KEYWORD, "show", NULL, t_show},
+ {KEYWORD, "show", NONE, t_show},
{KEYWORD, "poll", POLL, NULL},
{KEYWORD, "reload", RELOAD, NULL},
{KEYWORD, "stop", SHUTDOWN, NULL},
diff --git a/usr.sbin/relayctl/parser.c b/usr.sbin/relayctl/parser.c
index ee5451c8982..0ee00021098 100644
--- a/usr.sbin/relayctl/parser.c
+++ b/usr.sbin/relayctl/parser.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: parser.c,v 1.14 2007/10/19 12:08:55 pyr Exp $ */
+/* $OpenBSD: parser.c,v 1.15 2007/11/20 15:37:24 pyr Exp $ */
/*
* Copyright (c) 2006 Pierre-Yves Ritschard <pyr@openbsd.org>
@@ -65,7 +65,7 @@ static const struct token t_host_id[];
static const struct token t_main[] = {
{KEYWORD, "monitor", MONITOR, NULL},
- {KEYWORD, "show", NULL, t_show},
+ {KEYWORD, "show", NONE, t_show},
{KEYWORD, "poll", POLL, NULL},
{KEYWORD, "reload", RELOAD, NULL},
{KEYWORD, "stop", SHUTDOWN, NULL},