Obsolete golang-120
[oi-userland.git] / components / library / ConsoleKit / patches / 18-seattool.patch
blob66a2df867ef4c048e802651b3fdf01ad7f3ebee7
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);
8 if (remaining_args) {
9 - for (i = 0; i < G_N_ELEMENTS (remaining_args); i++) {
10 + for (i = 0; i < g_strv_length (remaining_args); i++) {
11 char **arr;
13 /* split var=value */