diff options
author | Thomas Haller <thaller@redhat.com> | 2016-06-06 14:21:42 +0200 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2016-06-06 14:21:42 +0200 |
commit | 2822f92434e19ebd25b69672bc996fc8311ae929 (patch) | |
tree | 834e6df3290f241d3404e5bf8682c09d487f48cd | |
parent | b8b68e212d526fe4c94a6291d21612d4ac1cb094 (diff) | |
download | NetworkManager-2822f92434e19ebd25b69672bc996fc8311ae929.tar.gz |
clients: fix wrong assertion _assert_format_int()
Fixes: 466bf2f6332e15a447a40e2a92b7f4493502855a
-rw-r--r-- | clients/tui/nm-editor-utils.c | 1 |
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; |