summaryrefslogtreecommitdiff
path: root/error.h
diff options
context:
space:
mode:
authorJohn Southworth <john.southworth@vyatta.com>2011-07-29 20:42:17 -0700
committerJohn Southworth <john.southworth@vyatta.com>2011-07-29 20:42:17 -0700
commit45b687cc08e0a67747d09013ce0ad5e5d04abb1f (patch)
treec3574c20e2026df40814a3c4c4bbc90abe7eae2a /error.h
parent41862ea5d8b28c4a5a6cae18c8ab351aec5b160f (diff)
downloadvyatta-bash-45b687cc08e0a67747d09013ce0ad5e5d04abb1f.tar.gz
vyatta-bash-45b687cc08e0a67747d09013ce0ad5e5d04abb1f.zip
Bugfix 2823: change output of invalid commands so that they will integrate into our system seamlessly
Diffstat (limited to 'error.h')
-rw-r--r--error.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/error.h b/error.h
index e79ba3e..d5ec12f 100644
--- a/error.h
+++ b/error.h
@@ -47,6 +47,9 @@ extern void sys_error __P((const char *, ...)) __attribute__((__format__ (print
/* Report an internal error. */
extern void internal_error __P((const char *, ...)) __attribute__((__format__ (printf, 1, 2)));
+/* Report an invalid command. */
+extern void invalid_cmd __P((const char *, ...)) __attribute__((__format__ (printf, 1, 2)));
+
/* Report an internal warning. */
extern void internal_warning __P((const char *, ...)) __attribute__((__format__ (printf, 1, 2)));