From de19ae2e1aac265b2f96a470e48b75a53b88a535 Mon Sep 17 00:00:00 2001 From: jsg Date: Wed, 14 Oct 2015 13:27:50 +0000 Subject: [PATCH] Don't use the NONE enum value where NULL was intended. Found with clang. ok renato@ --- usr.sbin/eigrpctl/parser.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/usr.sbin/eigrpctl/parser.c b/usr.sbin/eigrpctl/parser.c index ec940790272..d01f05b8558 100644 --- a/usr.sbin/eigrpctl/parser.c +++ b/usr.sbin/eigrpctl/parser.c @@ -1,4 +1,4 @@ -/* $OpenBSD: parser.c,v 1.1 2015/10/02 04:31:52 renato Exp $ */ +/* $OpenBSD: parser.c,v 1.2 2015/10/14 13:27:50 jsg Exp $ */ /* * Copyright (c) 2015 Renato Westphal @@ -133,8 +133,8 @@ static const struct token t_show_topology[] = { {KEYWORD, "family", NONE, t_show_topology_af}, {KEYWORD, "as", NONE, t_show_topology_as}, {PREFIX, "", NONE, NULL}, - {FLAG, "active", F_CTL_ACTIVE, NONE}, - {FLAG, "all-links", F_CTL_ALLLINKS, NONE}, + {FLAG, "active", F_CTL_ACTIVE, NULL}, + {FLAG, "all-links", F_CTL_ALLLINKS, NULL}, {ENDTOKEN, "", NONE, NULL} }; -- 2.20.1