1 diff --git a/tools/ck-seat-tool.c.orig b/tools/ck-seat-tool.c
2 index 347c81c..773afb7 100644
3 --- a/tools/ck-seat-tool.c.orig
4 +++ b/tools/ck-seat-tool.c
5 @@ -184,7 +184,7 @@ add_session (DBusGConnection *connection)
6 (GDestroyNotify) g_free);
9 - for (i = 0; i < G_N_ELEMENTS (remaining_args); i++) {
10 + for (i = 0; i < g_strv_length (remaining_args); i++) {