diff options
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/command.c | 2 | ||||
| -rw-r--r-- | lib/command_graph.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/command.c b/lib/command.c index c64d38f22d..452a559998 100644 --- a/lib/command.c +++ b/lib/command.c @@ -323,6 +323,7 @@ install_element (enum node_type ntype, struct cmd_element *cmd) { fprintf (stderr, "Command node %d doesn't exist, please check it\n", ntype); + fprintf (stderr, "Have you called install_node before this install_element?\n"); exit (EXIT_FAILURE); } @@ -370,6 +371,7 @@ uninstall_element (enum node_type ntype, struct cmd_element *cmd) { fprintf (stderr, "Command node %d doesn't exist, please check it\n", ntype); + fprintf (stderr, "Have you called install_node before this install_element?\n"); exit (EXIT_FAILURE); } diff --git a/lib/command_graph.c b/lib/command_graph.c index 6b6c0369f0..8cfb333575 100644 --- a/lib/command_graph.c +++ b/lib/command_graph.c @@ -26,8 +26,6 @@ #include "command_graph.h" -DECLARE_MTYPE(CMD_TOKEN_DATA) - DEFINE_MTYPE_STATIC(LIB, CMD_TOKENS, "Command Tokens") DEFINE_MTYPE_STATIC(LIB, CMD_DESC, "Command Token Text") DEFINE_MTYPE_STATIC(LIB, CMD_TEXT, "Command Token Help") |
