summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2016-06-18 18:15:41 +0200
committerThomas Haller <thaller@redhat.com>2016-06-18 18:15:41 +0200
commit59269b6925e9947b4c11f1548ba1593dd4aa5371 (patch)
tree3cd53de60ea3eaddb753d3b876a932e862aea413
parent062fccf46f8e9c765a20616c905dd0173017f4ef (diff)
downloadNetworkManager-59269b6925e9947b4c11f1548ba1593dd4aa5371.tar.gz
clients: fix wrong assertion _assert_format_int()
Fixes: 2822f92434e19ebd25b69672bc996fc8311ae929
-rw-r--r--clients/tui/nm-editor-utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/clients/tui/nm-editor-utils.c b/clients/tui/nm-editor-utils.c
index 9e6263e633..0ec55f3d2b 100644
--- a/clients/tui/nm-editor-utils.c
+++ b/clients/tui/nm-editor-utils.c
@@ -260,7 +260,7 @@ _assert_format_int (const char *format)
g_assert (format);
format++;
g_assert (!strchr (format, '%'));
- g_assert (format[1] == 'd');
+ g_assert (format[0] == 'd');
return TRUE;
}