aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorClaudio Saavedra <csaavedra@igalia.com>2012-09-03 20:35:37 +0800
committerClaudio Saavedra <csaavedra@igalia.com>2012-09-03 20:35:37 +0800
commitcccd1f10983fb10278ca3612a1b20b04f0913b38 (patch)
tree0616f89565739a12fda03ec7793b2fb03c32eb17
parent97d0929cf1691bc029db792e941870948a5e13e5 (diff)
downloadgsoc2013-epiphany-cccd1f10983fb10278ca3612a1b20b04f0913b38.tar
gsoc2013-epiphany-cccd1f10983fb10278ca3612a1b20b04f0913b38.tar.gz
gsoc2013-epiphany-cccd1f10983fb10278ca3612a1b20b04f0913b38.tar.bz2
gsoc2013-epiphany-cccd1f10983fb10278ca3612a1b20b04f0913b38.tar.lz
gsoc2013-epiphany-cccd1f10983fb10278ca3612a1b20b04f0913b38.tar.xz
gsoc2013-epiphany-cccd1f10983fb10278ca3612a1b20b04f0913b38.tar.zst
gsoc2013-epiphany-cccd1f10983fb10278ca3612a1b20b04f0913b38.zip
ephy-profile-utils: fix array length
-rw-r--r--lib/ephy-profile-utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ephy-profile-utils.c b/lib/ephy-profile-utils.c
index ae7771268..d5caaa9e8 100644
--- a/lib/ephy-profile-utils.c
+++ b/lib/ephy-profile-utils.c
@@ -198,7 +198,7 @@ ephy_profile_utils_do_migration (int test_to_run, gboolean debug)
GError *error = NULL;
char *index = NULL, *version = NULL;
int status;
- char *argv[5] = { EPHY_PROFILE_MIGRATOR, "-v" };
+ char *argv[6] = { EPHY_PROFILE_MIGRATOR, "-v" };
char *envp[1] = { "EPHY_LOG_MODULES=ephy-profile" };
argv[2] = version = g_strdup_printf ("%d", EPHY_PROFILE_MIGRATION_VERSION);