summaryrefslogtreecommitdiff
path: root/tui/nmtui.c
diff options
context:
space:
mode:
authorDan Williams <dcbw@redhat.com>2014-01-17 10:26:42 -0600
committerDan Williams <dcbw@redhat.com>2014-01-17 10:26:42 -0600
commit4478d86ea805c147a164f47eed3f35626d6d5e23 (patch)
tree248ee2c6f396782fa43f0c5bb80a2d0ca8e2b96a /tui/nmtui.c
parent94c29932e24386f49cf240ac45c2d8a21d6db6d8 (diff)
downloadNetworkManager-4478d86ea805c147a164f47eed3f35626d6d5e23.tar.gz
trivial: fix variable shadowing
Diffstat (limited to 'tui/nmtui.c')
-rw-r--r--tui/nmtui.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/tui/nmtui.c b/tui/nmtui.c
index 85c76459d9..eff99f7d04 100644
--- a/tui/nmtui.c
+++ b/tui/nmtui.c
@@ -151,20 +151,20 @@ static void
usage (void)
{
const char *argv0 = g_get_prgname ();
- const char *usage = _("Usage");
+ const char *usage_str = _("Usage");
int i;
for (i = 0; i < num_subprograms; i++) {
if (!strcmp (argv0, subprograms[i].shortcut)) {
- g_printerr ("%s: %s [%s]\n", usage, argv0, _(subprograms[i].arg));
+ g_printerr ("%s: %s [%s]\n", usage_str, argv0, _(subprograms[i].arg));
exit (1);
}
}
- g_printerr ("%s: nmtui\n", usage);
+ g_printerr ("%s: nmtui\n", usage_str);
for (i = 0; i < num_subprograms; i++) {
g_printerr ("%*s nmtui %s [%s]\n",
- nmt_newt_text_width (usage), " ",
+ nmt_newt_text_width (usage_str), " ",
subprograms[i].name,
_(subprograms[i].arg));
}