summaryrefslogtreecommitdiff
path: root/obt/paths.c
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2010-04-28 10:59:42 -0400
committerDana Jansens <danakj@orodu.net>2010-04-28 12:58:45 -0400
commit5e424b81d24d82f7584ea175cd6579baba3695d7 (patch)
treeb7dbfff055c4d646db0f457ead2ced7ef36aeb37 /obt/paths.c
parent55b84316bb699fa530efe78d75ae8e1d57c1b57f (diff)
found memory corruption in the obt xqueue and paths
Diffstat (limited to 'obt/paths.c')
-rw-r--r--obt/paths.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/obt/paths.c b/obt/paths.c
index 8afe4f71..b20eb48d 100644
--- a/obt/paths.c
+++ b/obt/paths.c
@@ -126,7 +126,7 @@ static void find_uid_gid(uid_t *u, gid_t **g, guint *n)
}
endgrent();
- qsort(*g, sizeof(gid_t), *n, gid_cmp);
+ qsort(*g, *n, sizeof(gid_t), gid_cmp);
}
ObtPaths* obt_paths_new(void)