summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2016-06-06 14:21:42 +0200
committerThomas Haller <thaller@redhat.com>2016-06-06 14:21:42 +0200
commit2822f92434e19ebd25b69672bc996fc8311ae929 (patch)
tree834e6df3290f241d3404e5bf8682c09d487f48cd
parentb8b68e212d526fe4c94a6291d21612d4ac1cb094 (diff)
downloadNetworkManager-2822f92434e19ebd25b69672bc996fc8311ae929.tar.gz
clients: fix wrong assertion _assert_format_int()
Fixes: 466bf2f6332e15a447a40e2a92b7f4493502855a
-rw-r--r--clients/tui/nm-editor-utils.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/clients/tui/nm-editor-utils.c b/clients/tui/nm-editor-utils.c
index 37eceb4397..25a64c2eed 100644
--- a/clients/tui/nm-editor-utils.c
+++ b/clients/tui/nm-editor-utils.c
@@ -258,6 +258,7 @@ _assert_format_int (const char *format)
g_assert (format);
format = strchr (format, '%');
g_assert (format);
+ format++;
g_assert (!strchr (format, '%'));
g_assert (format[1] == 'd');
return TRUE;