summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ngctl
diff options
context:
space:
mode:
authorstefanf <stefanf@FreeBSD.org>2006-07-17 08:35:47 +0000
committerstefanf <stefanf@FreeBSD.org>2006-07-17 08:35:47 +0000
commitff68c8b4d372e81a099936e990d873761d52588e (patch)
tree197f0e3ddbd6749680e5f78e9e242872cb4e87ae /usr.sbin/ngctl
parenta3c7e589cdbfa515d66383476cca47446046cdd1 (diff)
downloadFreeBSD-src-ff68c8b4d372e81a099936e990d873761d52588e.zip
FreeBSD-src-ff68c8b4d372e81a099936e990d873761d52588e.tar.gz
Don't use empty braces ("{}") to initialise arrays. This is a syntax
error in ISO C (both 90 and 99).
Diffstat (limited to 'usr.sbin/ngctl')
-rw-r--r--usr.sbin/ngctl/config.c2
-rw-r--r--usr.sbin/ngctl/debug.c2
-rw-r--r--usr.sbin/ngctl/mkpeer.c2
-rw-r--r--usr.sbin/ngctl/name.c2
-rw-r--r--usr.sbin/ngctl/status.c2
-rw-r--r--usr.sbin/ngctl/types.c2
6 files changed, 6 insertions, 6 deletions
diff --git a/usr.sbin/ngctl/config.c b/usr.sbin/ngctl/config.c
index 739a693..9b1a275 100644
--- a/usr.sbin/ngctl/config.c
+++ b/usr.sbin/ngctl/config.c
@@ -54,7 +54,7 @@ const struct ngcmd config_cmd = {
"config <path> [arguments]",
"get or set configuration of node at <path>",
NULL,
- {}
+ { NULL }
};
static int
diff --git a/usr.sbin/ngctl/debug.c b/usr.sbin/ngctl/debug.c
index 491bfb4..d64e32d 100644
--- a/usr.sbin/ngctl/debug.c
+++ b/usr.sbin/ngctl/debug.c
@@ -54,7 +54,7 @@ const struct ngcmd debug_cmd = {
" debugging verbosity level. If the argument is ``+'' or ``-''"
" the debug level is incremented or decremented; otherwise,"
" it must be an absolute numerical level.",
- {}
+ { NULL }
};
static int
diff --git a/usr.sbin/ngctl/mkpeer.c b/usr.sbin/ngctl/mkpeer.c
index 77c43a3..1c6896b 100644
--- a/usr.sbin/ngctl/mkpeer.c
+++ b/usr.sbin/ngctl/mkpeer.c
@@ -54,7 +54,7 @@ const struct ngcmd mkpeer_cmd = {
" connection are \"hook\" on the original node and \"peerhook\""
" on the new node."
" If \"path\" is omitted then \".\" is assumed.",
- {}
+ { NULL }
};
static int
diff --git a/usr.sbin/ngctl/name.c b/usr.sbin/ngctl/name.c
index a557134..7149d35 100644
--- a/usr.sbin/ngctl/name.c
+++ b/usr.sbin/ngctl/name.c
@@ -51,7 +51,7 @@ const struct ngcmd name_cmd = {
"name <path> <name>",
"Assign name <name> to the node at <path>",
NULL,
- {}
+ { NULL }
};
static int
diff --git a/usr.sbin/ngctl/status.c b/usr.sbin/ngctl/status.c
index 9fc5ff1..7827c63 100644
--- a/usr.sbin/ngctl/status.c
+++ b/usr.sbin/ngctl/status.c
@@ -53,7 +53,7 @@ const struct ngcmd status_cmd = {
"status <path>",
"Get human readable status information from the node at <path>",
NULL,
- {}
+ { NULL }
};
static int
diff --git a/usr.sbin/ngctl/types.c b/usr.sbin/ngctl/types.c
index 0d5ef18..5ed4b53 100644
--- a/usr.sbin/ngctl/types.c
+++ b/usr.sbin/ngctl/types.c
@@ -52,7 +52,7 @@ const struct ngcmd types_cmd = {
"types",
"Show information about all installed node types",
NULL,
- {}
+ { NULL }
};
static int
OpenPOWER on IntegriCloud