about summary refs log tree commit diff
path: root/src/nmcli/general.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nmcli/general.c')
-rw-r--r--src/nmcli/general.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nmcli/general.c b/src/nmcli/general.c
index ea070e05..c6c266a2 100644
--- a/src/nmcli/general.c
+++ b/src/nmcli/general.c
@@ -500,7 +500,7 @@ show_nm_status(NmCli *nmc, const char *pretty_header_name, const char *print_fld
         fields_str = nmc->required_fields;
 
     if (!nmc_print_table(&nmc->nmc_config,
-                         (gpointer[]){nmc, NULL},
+                         (gpointer[]) {nmc, NULL},
                          NULL,
                          pretty_header_name ?: N_("NetworkManager status"),
                          (const NMMetaAbstractInfo *const *) metagen_general_status,
@@ -733,7 +733,7 @@ show_general_logging(NmCli *nmc)
         fields_str = nmc->required_fields;
 
     if (!nmc_print_table(&nmc->nmc_config,
-                         (gpointer const[]){&d, NULL},
+                         (gpointer const[]) {&d, NULL},
                          NULL,
                          _("NetworkManager logging"),
                          (const NMMetaAbstractInfo *const *) metagen_general_logging,